democracyos-to-string
v0.1.0
Published
A pagination plugin for List.js
Downloads
28
Readme
toString
A minimal Javascript component for converting anything to a string
Installation
$ component install javve/to-string
Example
var toString = require('to-string');
toString(undefind); // returns ""
toString(null); // returns ""
toString(9); // returns "9"
toString({ foo: "bar" }); // returns something like "[object Object]"
toString(function() {}); // returns something like "function () {}"
In action
License
MIT