@gurovdmitriy/be-todo-core
v1.2.2
Published
Be-todo-core: playground package
Downloads
1
Maintainers
Readme
Be-todo-core: playground package
Install
npm install --save @gurovdmitriy/be-todo-core
See more
Motivation
Provide the most complete templates for building a library.
Description
Provide an example of how the LernaJs & Nx monorepo works, the example contains 2 packages, be-todo-core depends on be-todo-strike. Explore this to start building packages. The example template supercharged with linters and Rollup.
Example
import { beTodoCore } from "@gurovdmitriy/be-todo-core"
const todoManager = beTodoCore()
todoManager.add("buy milk")
todoManager.add("buy bread")
todoManager.strike(1)
console.log(todoManager.todos)
Resource:
Tasks:
- [x] Be-todo-core, todo manager fn
- [x] Be-todo-strike, mark done fn