to-string

0.2.0 • Public • Published

to-string

stringify

usage

var toString = require('to-string')

toString(maybeAValue)
// => String

toStringOrUndefined(4)
// => '4'

toString.orUndefined(undefined)
// => undefined

installation

$ npm install to-string

running the tests

From package root:

$ npm install
$ npm test

contributors

license

MIT. (c) 2013 jden jason@denizac.org. See LICENSE.md

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    523
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    523
  • 0.1.0
    0

Package Sidebar

Install

npm i to-string

Weekly Downloads

523

Version

0.2.0

License

MIT

Last publish

Collaborators