1.0.2 • Published 5 years ago

kick-prop v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

kick-prop

npm package


Table of contents


Installation

npm install --save kick-prop

# or

cnpm install --save kick-prop

Usage

const { readFileSync } = require('fs');
const Properties = require('kick-prop');

const prop = new Properties();

// sync
prop.load(readFileSync( ... ).toString());

// async
prop.loadFile( ... ).then(()=> {
  console.log(prop.getProperty( ... ));  
});

// sync
prop.loadFileSync( ... );

console.log(prop.getProperty( ... ));
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

1.0.0-beta.0

5 years ago