node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

normalize-fn

normalize-fn Build Status

Use esprima and escodegen to "normalize" some code.

Useful when you want to ensure that two snippets are the same regardless of minor differences in spacing, indentation, etc.

API

var normalizeFn = require('normalize-fn');

License

MIT