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');
Private packages, team management tools, and powerful integrations. Get started with npm Orgs
how? learn more