JSPM

ordered-esprima-props

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 160189
  • Score
    100M100P100Q178150F
  • License MIT

Lexical ordering of property names per Esprima AST type

Package Exports

  • ordered-esprima-props

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ordered-esprima-props) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ordered-esprima-props

A map from type (string) to an array of property names (strings) in lexical order, i.e. an AST-traversal in this order will visit nodes in increasing source code position.

Tested with Esprima but should work for any Mozilla Parser API compatible AST, see https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Parser_API

License

MIT, see LICENSE file.