@orodio/gate

2.0.0 • Public • Published

@orodio/params

Build Status

Install

yarn add @orodio/params

Use

import gate from "@orodio/gate"

const { isUnlocked, isLocked, lock, unlock } = gate() // same as gate(true)
isLocked()   // true
isUnlocked() // false
unlock()
isLocked()   // false
isUnlocked() // true
lock()
isLocked()   // true
isUnlocked() // false

Dev

$ make               # see make help
$ make help          # shows all the make commands
$ make build         # build stuff puts it in /lib
$ make build-watch   # make build but all the time
$ make test          # tests the stuff
$ make test-watch    # make test but all the time
$ make version       # creates a patch tag
$ make version-minor # creates a minor tag
$ make version-major # creates a major tag
$ make publish       # publishes the module

Readme

Keywords

none

Package Sidebar

Install

npm i @orodio/gate

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • orodio