1.0.0 • Published 1 year ago
opticon v1.0.0
Opticon 🐦
Zero dependency option container library.
Table of Contents
Installation
npm install opticon --save
Important NOTE
The README.md
file is under construction ☂ at the moment.
So please stay patient or contribute to it, till it covers all parts ⭐.
Usage
import { Opticon } from "opticon";
type Options = {
foo: string,
bar: number
}
const config = new Opticon<Options>({
defaults: {
foo: 'baz'
}
});
console.log(config.get('foo'));
// baz
console.log(config.get('bar'));
// undefined
License
Made with 💚
Published under MIT License.
1.0.0
1 year ago