Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

easy-state

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-state

Simple state manipulation without any frameworks.

  • 1.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Easy-state

Simple state manipulation without any frameworks.

Build Status codecov

Visit the docs page


Developing easy-state

Install

$ git clone https://github.com/oyvindhermansen/easy-state.git
$ cd easy-state
$ yarn install

Run the demo whitch is powered by webpack and webpack dev-server. The dev-server listens for changes in both demo/ and src/, so you can write module implementation and testing it in the browser at the same time.

$ yarn dev

Unit testing

$ yarn test
$ yarn test:watch

Test coverage

$ yarn coverage

Prettier

# Targets src, demo and __tests__ folders.
$ yarn prettier

Build for production

$ yarn build

Run the website locally with Gatsby

$ cd docs && yarn develop

Inspiration

The library is inspired by both React and Redux. It's sort of a Redux-lib, without the reducers, action-creators and dispatching actions, but instead changing state with setState()-method like they do in React.

Keywords

FAQs

Package last updated on 11 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc