Socket
Socket
Sign inDemoInstall

write-json

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    write-json

Write a JSON to file disk, also creates directories in the dest path if they don't already exist.


Version published
Maintainers
1
Install size
5.87 kB
Created

Readme

Source

write-json NPM version

Write a JSON to file disk, also creates directories in the dest path if they don't already exist.

Install with npm

npm i write-json --save

Usage

var writeJson = require('write-json'); 

writeJson('foo.json', {abc: 'xyz'});

Run tests

Install dependencies:

npm i -d && mocha

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license


This file was generated by verb on December 16, 2014.

Keywords

FAQs

Last updated on 17 Dec 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc