mockoon-date-shift

0.1.8 • Public • Published

mockoon-date-shift

npm version

A dead simple in-place date shifting tool that updates all of your dates in a JSON file to use the mockoon dateTimeShift format.

Usage

npx mockoon-date-shift ./file.json

Before

{
  "item": "2000-01-01"
}

After

{
  "item": "{{dateTimeShift date=now format='yyyy-MM-dd' years=-24 months=-3 days=-16 hours=0 minutes=0 seconds=0}}"
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.80latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.80
0.1.70
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i mockoon-date-shift

Weekly Downloads

0

Version

0.1.8

License

MIT

Unpacked Size

11.3 kB

Total Files

3

Last publish

Collaborators

  • bengineer.dev