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

1.2.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)

Install

npm i ember-meta-explorer

DownloadsWeekly Downloads

1,503

Version

1.2.0

License

MIT

Unpacked Size

40.9 kB

Total Files

10

Last publish

Collaborators

  • lifeart