This repository was archived by the owner on Dec 6, 2022. It is now read-only.
v1.0.0-alpha.1
Pre-release
Pre-release
·
23 commits
to master
since this release
Massive breaking changes in this version, as it's almost a complete rewrite, or at the
very least a reimagining π The goal is to make it more functional - so it's not
a class anymore, and it doesn't use internal state relying on this.
I'll be playing with the idea of making the API partially apply-able in FP style,
but that might not be all that useful. We'll see.
BREAKING CHANGE: levers is no longer a class. Most functionality should remain
mostly the same aside from creating instances. The main export is simply a function.
Before:
const Levers = require('levers')
const settings = new Levers('app')
// or:
const settings = Levers.create('app')After:
const levers = require('levers')
const settings = levers('app')levers also does not depend on Electron, and will store its data in the OS data
directory in the folder name of the root package.json's name property.