ember-meta-explorer
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

NOOP

ember-meta-explorer

created as collection of handy functions to get metadata from an ember app and related stuff

import { 
  processJSFile, parseScriptFile, processTemplate, 
  extractComponentInformationFromMeta, rebelObject } from 'ember-meta-explorer';

// processJSFile(text) -> get metadata from any emberjs `ts`, `js` component
// processTemplate(text) -> get metadata from `hbs` component
// extractComponentInformationFromMeta -> merge results of processJSFile & processTemplate
// rebelObject -> get object from list of paths
// parseScriptFile(file) -> get ast for any `.js/.ts` file (including class properties, decorators support)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.0
    43
    • latest

Version History

Package Sidebar

Install

npm i ember-meta-explorer

Weekly Downloads

1,665

Version

1.3.0

License

MIT

Unpacked Size

40.7 kB

Total Files

10

Last publish

Collaborators

  • lifeart