just-to-string

1.0.0 • Public • Published

just-to-string

npm i just-to-string
const toString = require('just-to-string')

It's just toString, but without any chance of throwing

toString(null) // => '[object Null]'
toString(Object.create(null)) // => '[object Object]'

License

WTFPL

Readme

Keywords

Package Sidebar

Install

npm i just-to-string

Weekly Downloads

0

Version

1.0.0

License

WTFPL

Unpacked Size

1.62 kB

Total Files

4

Last publish

Collaborators

  • tehshrike