Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including mark-todo-item with all npm packages installed. Try it out:

var markTodoItem = require("mark-todo-item")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

mark-todo-item v0.0.3

[Experiment] NPM script for marking todo items (outputs html)

Badge: Build status generated from Travis CI NSP Status bitHound Overall Score bitHound Dependencies

Mark todo item

Experimental repository to test how it works with NPM.

The code is tested and actually used in production ;)

npm install --save mark-todo-item
const MarkTodoItem = require('mark-todo-item');
const markTodoItem = MarkTodoItem(options);
const input = `/projects/:id – Add filter with search`;
const output = markTodoItem(input);
import 'todo' from 'mark-todo-item';

Lint

eslint ./

Note to self: eslint returns nothing in case of no errors nor warnings!

Test

All dependencies can be installed/run globally

jasmine
npm run test // runs jasmine
jasmine-node --color --autotest ./ --watch ../**

License

MIT

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free