node package manager

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