strip-json-comments

Strip comments from JSON. Lets you use comments in your JSON files!

MIT License

Downloads
233.7M
Stars
589
Committers
21

Bot releases are hidden (Show)

strip-json-comments - Latest Release

Published by sindresorhus over 1 year ago

strip-json-comments -

Published by sindresorhus about 2 years ago

Breaking

  • Require Node.js 14 5be749e

Improvements

  • Add option to also strip trailing commas (#59) f9a6283

https://github.com/sindresorhus/strip-json-comments/compare/v4.0.0...v5.0.0

strip-json-comments -

Published by sindresorhus about 3 years ago

Breaking

  • Require Node.js 12.20 d77f9a5
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/strip-json-comments/compare/v3.1.1...v4.0.0

strip-json-comments -

Published by sindresorhus over 4 years ago

  • Add jsonc to package.json keywords (#45) 60d2039

https://github.com/sindresorhus/strip-json-comments/compare/v3.1.0...v3.1.1

strip-json-comments -

Published by sindresorhus over 4 years ago

  • Strictly validate that the jsonString argument is a string 681f8b8

https://github.com/sindresorhus/strip-json-comments/compare/v3.0.1...v3.1.0

strip-json-comments -

Published by sindresorhus over 5 years ago

  • Correctly handle some weird escaping (#41) 23acbfe

https://github.com/sindresorhus/strip-json-comments/compare/v3.0.0...v3.0.1

strip-json-comments -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Node.js 8 (#40) 9e6602c

Enhancements:

  • Add TypeScript definition (#40) 9e6602c

https://github.com/sindresorhus/strip-json-comments/compare/v2.0.1...v3.0.0

strip-json-comments - 2.0.0

Published by sindresorhus almost 9 years ago

https://github.com/sindresorhus/strip-json-comments/compare/v1.0.4...v2.0.0