0.0.17 • Published 7 years ago
projectional v0.0.17
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)