2.2.0 • Published 3 years ago

my-json-utils v2.2.0

Weekly downloads
205
License
ISC
Repository
-
Last release
3 years ago

Json utils

some functions for working with json, including: alphabetizing and camel casing the keys

including

camelJson(file, data)

  • file: string file to write the data to
  • data: object data to write to file

updateCamelJson(file, newFile)

  • file: string file to write the data to
  • newFile: string new file to write data to - can be the same as original

alphaJson(file, data)

  • file: string file to write the data to
  • data: object data to write to file

updateAlphaJson(file, newFile)

  • file: string file to read the data from
  • newFile: string new file to write data to - can be the same as original

addJson(file, newData, newFile)

  • file: string file to read the data from
  • newData: new data to be added
  • newFile: string new file to write data to - optional, other wise the original file will be used

to publish to npm $ npm publish --access=public

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago