New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

easy-jsonfs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-jsonfs

Handles JSON file directly through methods to get, set, remove, getAll and save.

latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

easy-jsonfs

Handles JSON file directly through methods to get, set, remove, getAll and save.

Installation

npm install easy-jsonfs --save

Usage

Assuming the package.json file has the following content:


	{
	  "name": "easy-jsonfs",
	  "version": "0.1.0",
	  "description": "Handles JSON file directly through methods to get, set, remove, getAll and save.",
	  "main": "index.js",
	  "repository": {
	    "type": "git",
	    "url": "git+https://github.com/cneryjr/easy-jsonfs.git"
	  },
	  .
	  .
	  .
	}


    var store = new Store('./package.json');

    var ver = store.get('version'); 				// ver = "0.1.0"
    var aux = store.get('repository.type'); 		// aux = "git"

    store.set('repository.info', 'repo in github');
    aux = store.get('repository.info'); 			// aux = "repo in github"

Release History

  • 0.1.0 October/2015 - Initial release
  • 0.1.1 October/2015 - Increment documentation
  • 0.1.3 October/2015 - Fix 'path' module required
  • 0.1.4 October/2015 - Fix README.md # Installation section

License

(MIT License)

Keywords

json

FAQs

Package last updated on 08 Oct 2015

Did you know?

Socket

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