@segment/convert-dates
Advanced tools
Weekly downloads
Readme
Convert all Date instances in an object.
$ npm install @segment/convert-dates
var convert = require('convert-dates');
var obj = { date: new Date() };
obj = convert(obj, function (date) { return 'string'; });
obj.date; // "string"
Passes all of the Date
values in an object
through the converter
function.
FAQs
Convert all Date instances in an object.
The npm package @segment/convert-dates receives a total of 500 weekly downloads. As such, @segment/convert-dates popularity was classified as not popular.
We found that @segment/convert-dates demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 57 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.