Stringme
This is a wrapper of JSON stringify that converts also undefined and null to string.
Installation
npm install --save stringme
Usage
const stringme = ; ; // "undefined"; // "null"; // {"a":1}; // "2018-03-11T12:48:46.252Z" // Remove quotes; // null // JSON stringify params see https://developer.mozilla.org/it/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify;
Changelog
You can view the changelog here
License
Stringme is open-sourced software licensed under the MIT license