normalize-fn

deterministically format javascript code

normalize-fn

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.

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

MIT