10.0.1 • Published 3 months ago

angular-estree-parser v10.0.1

Weekly downloads
72,457
License
MIT
Repository
github
Last release
3 months ago

angular-estree-parser

Build Status Coverage Npm Version MIT License

A parser that converts Angular source code into an ESTree-compatible form

Changelog

Install

# using npm
npm install --save angular-estree-parser @angular/compiler

# using yarn
yarn add angular-estree-parser @angular/compiler

Usage

import * as ngEstreeParser from 'angular-estree-parser';

const ast = ngEstreeParser.parseBinding('a | b:c');
//=> { type: "NGPipeExpression", ... }

API

  • parseAction(input: string): AST for (target)="input"
  • parseBinding(input: string): AST for [target]="input"
  • parseInterpolationExpression(input: string): AST for {{input}}
  • parseTemplateBindings(input: string): AST for *directive="input"

Development

# lint
yarn run lint

# build
yarn run build

# test
yarn run test

License

MIT © Ika

10.0.1

3 months ago

10.0.0

3 months ago

8.0.1

6 months ago

8.0.0

6 months ago

8.0.3

6 months ago

8.0.2

6 months ago

9.0.0

6 months ago

7.0.0

1 year ago

6.2.0

1 year ago

6.1.0

1 year ago

5.0.2

1 year ago

6.0.0

1 year ago

5.0.1

1 year ago

5.0.0

1 year ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

2.5.1

2 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

1.3.1

4 years ago

2.0.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago