@gurovdmitriy/be-todo-core
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

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

Package Sidebar

Install

npm i @gurovdmitriy/be-todo-core

Weekly Downloads

2

Version

1.2.2

License

MIT

Unpacked Size

5.83 kB

Total Files

7

Last publish

Collaborators

  • gurovdmitriy