@microstates/todomvc

0.12.0 • Public • Published

Build Status Coverage Status

TodoMVC Microstate

This package provides a Microstate model for state of a TodoMVC component. It includes tests and is published as @microstates/todomvc package. The purpose of this package is to show how a Microstate can be distributed via NPM. The state can be consumed by projects in different frameworks.

Learn more about Microstates.js at microstates/microstates.js.

Installation

npm install --save @microstates/todomvc

or

yarn add @microstates/todomvc

Getting Started

To use this model, you can import it and create a Microstate.

import { create } from 'microstates'
import TodoMVC from '@microstate/todomvc'

let todomvc = create(TodoMVC)

Tests

The Microstate comes with tests with 100% coverage.

git clone git@github.com:microstates/todomvc.git
cd todomvc
npm install
npm test

Readme

Keywords

Package Sidebar

Install

npm i @microstates/todomvc

Weekly Downloads

1

Version

0.12.0

License

MIT

Unpacked Size

29.7 kB

Total Files

7

Last publish

Collaborators

  • frontsidejack