# todotxt-parse

> Parse todo.txt strings

Latest version **0.2.0** (published 2017-12-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install todotxt-parse
pnpm add todotxt-parse
yarn add todotxt-parse
bun add todotxt-parse
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2017-12-31 |
| First published | 2017-12-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6.0.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Willyb321 |
| Maintainers | willyb321 |
| Keywords | todo, txt, text, todo.txt |

## Links

- npm: https://www.npmjs.com/package/todotxt-parse
- Repository: https://github.com/willyb321/todotxt-parse
- Homepage: https://github.com/willyb321/todotxt-parse#readme
- Issues: https://github.com/willyb321/todotxt-parse/issues
- npm.io page: https://npm.io/package/todotxt-parse

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.4

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.2.0 (latest) — 2017-12-31
- 0.1.0 — 2017-12-31

## README

# todotxt-parse
> Parse todo.txt strings easily.

## Usage

```javascript
// Install
// npm i todotxt-parse

const TodoTxt = require('todotxt-parse').default;

const txt = `x 2011-03-02 2011-03-01 Review Tim's pull request +TodoTxtTouch @github`;

const todo = new TodoTxt(txt);

console.log(todo.parse());
// Logs
// { origText: 'x 2011-03-02 2011-03-01 Review Tim\'s pull request +TodoTxtTouch @github',
//   text:
//    [ 'x',
//      '2011-03-02',
//      '2011-03-01',
//      'Review',
//      'Tim\'s',
//      'pull',
//      'request',
//      '+TodoTxtTouch',
//      '@github' ],
//   complete: true,
//   priority: null,
//   creationDate: '2011-03-01',
//   completionDate: '2011-03-02',
//   projects: [ '+TodoTxtTouch' ],
//   contexts: [ '@github' ] }
```

---
_Source: https://npm.io/package/todotxt-parse · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
