0.1.0 • Published 9 years ago

bernie-npm-test v0.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

bernie-npm-test

====== A small library providing utility methods to 'escape' and 'unescape' HT ML entities

Installation

npm install bernie-npm-test --save

Usage

var test = require('bernie-npm-test'),
	escape = test.esacpe,
	unescape = test.unescape;

var html = '<h1> Hello World</h1>',
	escaped = escape(html),
	unescaped = unescape(escaped);

console.log('html',html,'escaped',escaped,'unescaped',unescaped);

Tests

npm test

Constributing

In lieu of a formal style guide, take care to maintain the existing codeing style. 

Add unit tests for any new or changed functionality. Lint and test your code.

Release History

* 0.1.0 Initial release