projectional
TypeScript icon, indicating that this package has built-in type declarations

0.0.17 • Public • Published

projectional

Projectional offers a number of utilities for working with the typescript language code inteligence service

APIs

  • getRenderable (filePath:string); returns list of renderable react components
  • getSchema(RenderableCompId | InternalSchemaID)
  • getSchemaIds(filePath:string)
  • compile(file:filepath, options:{jsxIds:boolean,exportAll:boolean}) : compiles code with added instrumentation;
  • getRootNodes(RenderableCompId)
  • getNodeInfo(jsxId):NodeInfo : returns info about the node.
  • setNodeAttribute(jsxId:string,value:string)

Readme

Keywords

Package Sidebar

Install

npm i projectional

Weekly Downloads

1

Version

0.0.17

License

UNLICENSED

Last publish

Collaborators

  • cijoe