0.4.1 • Published 10 years ago

ls-config v0.4.1

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

ls-config

A quick and dirty global config tool for sharing config between external modules

Installation

npm install ls-config --save

Usage

NB: Type definitions are provided for TypeScript 1.6+

// TypeScript
import * as cfg from 'ls-config';

// JavaScript
var cfg = require('ls-config');

cfg.config('my-setting', 42); // Returns void

cfg.config('my-setting') // Returns 42

ls-config in any other external module will share this config.

License

MIT

0.4.1

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago