ts-structure-parser

WebJar for ts-structure-parser

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

ts-structure-parser
Last Version

Last Version

0.0.16
Release Date

Release Date

Type

Type

jar
Description

Description

ts-structure-parser
WebJar for ts-structure-parser
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mulesoft-labs/ts-structure-parser

Download ts-structure-parser

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/ts-structure-parser/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>ts-structure-parser</artifactId>
    <version>0.0.16</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/ts-structure-parser/
implementation 'org.webjars.npm:ts-structure-parser:0.0.16'
// https://jarcasting.com/artifacts/org.webjars.npm/ts-structure-parser/
implementation ("org.webjars.npm:ts-structure-parser:0.0.16")
'org.webjars.npm:ts-structure-parser:jar:0.0.16'
<dependency org="org.webjars.npm" name="ts-structure-parser" rev="0.0.16">
  <artifact name="ts-structure-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='ts-structure-parser', version='0.0.16')
)
libraryDependencies += "org.webjars.npm" % "ts-structure-parser" % "0.0.16"
[org.webjars.npm/ts-structure-parser "0.0.16"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : underscore jar [1.8.3]
org.webjars.npm : typescript jar [2.5.2]

Project Modules

There are no modules declared in this project.

TypeScript Structural Parser

Build Status

This repository provides a parser for *.ts files. It parses the structure of a file and provides JSON object that contains its declaration.

Installation

npm install ts-structure-parser --save

Usage

import tsstruct=require("ts-structure-parser")

var filePath=path.resolve(path.resolve(__dirname,"src/"),"typescript-file.ts");
var decls=fs.readFileSync(filePath).toString();
var jsonStructure=tsstruct.parseStruct(decls,{},filePath);
org.webjars.npm

Mulesoft Labs

Versions

Version
0.0.16