An open API service indexing awesome lists of open source software.

https://github.com/tiaanduplessis/todobru

Scan project for TODOs, FIXMEs, HACKs or whatever
https://github.com/tiaanduplessis/todobru

fixme fs hack readdir too

Last synced: 10 months ago
JSON representation

Scan project for TODOs, FIXMEs, HACKs or whatever

Awesome Lists containing this project

README

          

# todobru
[![package version](https://img.shields.io/npm/v/todobru.svg?style=flat-square)](https://npmjs.org/package/todobru)
[![package downloads](https://img.shields.io/npm/dm/todobru.svg?style=flat-square)](https://npmjs.org/package/todobru)
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![package license](https://img.shields.io/npm/l/todobru.svg?style=flat-square)](https://npmjs.org/package/todobru)
[![make a pull request](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

> Scan project for TODOs, FIXMEs, HACKs or whatever

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [License](#License)

## Install

This project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com).

```sh
$ npm install todobru
$ # OR
$ yarn add todobru
```

## Usage

```js
const todobru = require('todobru')

console.log(todobru())

// [ [ { base: '/Users/tiaan/code/todobru',
// name: 'parse-flags.js',
// ext: '.js',
// size: 1344,
// content:
// ,
// flag: 'FIXME',
// desc: 'Eat some food',
// tags: [],
// pairs: [Object] },
// { base: '/Users/tiaan/code/todobru',
// name: 'parse-flags.js',
// ext: '.js',
// size: 1344,
// content:
// ,
// flag: 'FIXME',
// desc: 'Eat some food',
// tags: [],
// pairs: [Object] },
// { base: '/Users/tiaan/code/todobru',
// name: 'parse-flags.js',
// ext: '.js',
// size: 1344,
// content:
// ,
// flag: 'FIXME',
// desc: 'Eat some food',
// tags: [],
// pairs: [Object] },
// { base: '/Users/tiaan/code/todobru',
// name: 'parse-flags.js',
// ext: '.js',
// size: 1344,
// content:
// ,
// flag: 'FIXME',
// desc: 'Eat some food',
// tags: [],
// pairs: [Object] } ],
// [ { base: '/Users/tiaan/code/todobru/node_modules/debug/src',
// name: 'browser.js',
// ext: '.js',
// size: 4734,
// content:
// ,
// flag: 'TODO',
// desc:
// 'add a `localStorage` variable to explicitly enable/disable colors',
// tags: [],
// pairs: {} } ] ]

```

## Contribute

1. Fork it and create your feature branch: `git checkout -b my-new-feature`
2. Commit your changes: `git commit -am "Add some feature"`
3. Push to the branch: `git push origin my-new-feature`
4. Submit a pull request

## License

MIT