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

https://github.com/dy/cln

Clean source code for comparison
https://github.com/dy/cln

Last synced: 10 months ago
JSON representation

Clean source code for comparison

Awesome Lists containing this project

README

          

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

```js
var clean = require('cln')
var assert = require('assert')

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