npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

cln

1.1.0 • Public • Published

Clean source code before comparing fixtures. To avoid leading/trailing/repeating whitespaces, newlines or tabs headache.

var clean = require('cln')
var assert = require('assert')
 
assert.equal(
clean(compile(`
    float a = 1;
`)),
clean`
    var a = 1;
`;

install

npm i cln

Downloadsweekly downloads

4

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability