@types/pegjs
Advanced tools
| // Type definitions for PEG.js | ||
| // Project: http://pegjs.org/ | ||
| // Definitions by: vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| declare namespace PEG { | ||
| function parse(input:string):any; | ||
| interface Location { | ||
| line: number; | ||
| column: number; | ||
| offset: number; | ||
| } | ||
| interface LocationRange { | ||
| start: Location, | ||
| end: Location | ||
| } | ||
| class SyntaxError { | ||
| line: number; | ||
| column: number; | ||
| offset: number; | ||
| location: LocationRange; | ||
| expected:any[]; | ||
| found:any; | ||
| name:string; | ||
| message:string; | ||
| } | ||
| } | ||
| export type Location = PEG.Location; | ||
| export type LocationRange = PEG.LocationRange; | ||
| export interface ExpectedItem { | ||
| type: string; | ||
| value?: string; | ||
| description: string; | ||
| } | ||
| export interface PegjsError extends Error { | ||
| name: string; | ||
| message: string; | ||
| location: LocationRange; | ||
| found?: any; | ||
| expected?: ExpectedItem[]; | ||
| stack?: any; | ||
| } | ||
| export type GrammarError = PegjsError; | ||
| export var GrammarError: any; | ||
| export interface ParserOptions { | ||
| startRule: string; | ||
| tracer: any; | ||
| } | ||
| export interface Parser { | ||
| parse(input: string, options?:ParserOptions): any; | ||
| SyntaxError: any; | ||
| } | ||
| export interface BuildOptions { | ||
| cache?: boolean; | ||
| allowedStartRules?: string[]; | ||
| optimize?: string; | ||
| plugins?: any[]; | ||
| } | ||
| export interface OutputBuildOptions extends BuildOptions { | ||
| output?: string; | ||
| } | ||
| export function buildParser(grammar: string, options?: BuildOptions): Parser; | ||
| export function buildParser(grammar: string, options?: OutputBuildOptions): Parser | string; | ||
| export namespace parser { | ||
| type SyntaxError = PegjsError; | ||
| var SyntaxError: any; | ||
| } | ||
| export as namespace PEG; | ||
| { | ||
| "name": "@types/pegjs", | ||
| "version": "0.0.28", | ||
| "description": "TypeScript definitions for PEG.js", | ||
| "license": "MIT", | ||
| "author": "vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi>", | ||
| "main": "", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| }, | ||
| "scripts": {}, | ||
| "dependencies": {}, | ||
| "typings": "index.d.ts", | ||
| "typesPublisherContentHash": "e4680a944ad1a517d37d6b79f32d7ba64fe343dc51a613ba058d93d135f0fd89" | ||
| } |
| # Installation | ||
| > `npm install --save @types/pegjs` | ||
| # Summary | ||
| This package contains type definitions for PEG.js (http://pegjs.org/). | ||
| # Details | ||
| Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/pegjs | ||
| Additional Details | ||
| * Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
| * File structure: UMD | ||
| * Library Dependencies: none | ||
| * Module Dependencies: none | ||
| * Global values: PEG | ||
| # Credits | ||
| These definitions were written by vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi>. |
| { | ||
| "authors": "vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi>", | ||
| "definitionFilename": "index.d.ts", | ||
| "libraryDependencies": [], | ||
| "moduleDependencies": [], | ||
| "libraryMajorVersion": "0", | ||
| "libraryMinorVersion": "0", | ||
| "libraryName": "PEG.js", | ||
| "typingsPackageName": "pegjs", | ||
| "projectName": "http://pegjs.org/", | ||
| "sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
| "sourceBranch": "types-2.0", | ||
| "kind": "UMD", | ||
| "globals": [ | ||
| "PEG" | ||
| ], | ||
| "declaredModules": [], | ||
| "files": [ | ||
| "index.d.ts" | ||
| ], | ||
| "hasPackageJson": false, | ||
| "contentHash": "e4680a944ad1a517d37d6b79f32d7ba64fe343dc51a613ba058d93d135f0fd89" | ||
| } |
-83
| // Type definitions for PEG.js | ||
| // Project: http://pegjs.org/ | ||
| // Definitions by: vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| declare namespace PEG { | ||
| function parse(input:string):any; | ||
| interface Location { | ||
| line: number; | ||
| column: number; | ||
| offset: number; | ||
| } | ||
| interface LocationRange { | ||
| start: Location, | ||
| end: Location | ||
| } | ||
| class SyntaxError { | ||
| line: number; | ||
| column: number; | ||
| offset: number; | ||
| location: LocationRange; | ||
| expected:any[]; | ||
| found:any; | ||
| name:string; | ||
| message:string; | ||
| } | ||
| } | ||
| export type Location = PEG.Location; | ||
| export type LocationRange = PEG.LocationRange; | ||
| export interface ExpectedItem { | ||
| type: string; | ||
| value?: string; | ||
| description: string; | ||
| } | ||
| export interface PegjsError extends Error { | ||
| name: string; | ||
| message: string; | ||
| location: LocationRange; | ||
| found?: any; | ||
| expected?: ExpectedItem[]; | ||
| stack?: any; | ||
| } | ||
| export type GrammarError = PegjsError; | ||
| export var GrammarError: any; | ||
| export interface ParserOptions { | ||
| startRule: string; | ||
| tracer: any; | ||
| } | ||
| export interface Parser { | ||
| parse(input: string, options?:ParserOptions): any; | ||
| SyntaxError: any; | ||
| } | ||
| export interface BuildOptions { | ||
| cache?: boolean; | ||
| allowedStartRules?: string[]; | ||
| optimize?: string; | ||
| plugins?: any[]; | ||
| } | ||
| export interface OutputBuildOptions extends BuildOptions { | ||
| output?: string; | ||
| } | ||
| export function buildParser(grammar: string, options?: BuildOptions): Parser; | ||
| export function buildParser(grammar: string, options?: OutputBuildOptions): Parser | string; | ||
| export namespace parser { | ||
| type SyntaxError = PegjsError; | ||
| var SyntaxError: any; | ||
| } | ||
| export as namespace PEG; | ||
-15
| { | ||
| "name": "@types/pegjs", | ||
| "version": "0.0.27", | ||
| "description": "TypeScript definitions for PEG.js", | ||
| "main": "", | ||
| "scripts": {}, | ||
| "author": "vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi>", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| }, | ||
| "license": "MIT", | ||
| "typings": "index.d.ts", | ||
| "dependencies": {} | ||
| } |
-18
| # Installation | ||
| > `npm install --save @types/pegjs` | ||
| # Summary | ||
| This package contains type definitions for PEG.js (http://pegjs.org/). | ||
| # Details | ||
| Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/pegjs | ||
| Additional Details | ||
| * Last updated: Thu, 14 Jul 2016 13:52:48 GMT | ||
| * File structure: UMD | ||
| * Library Dependencies: none | ||
| * Module Dependencies: none | ||
| * Global values: PEG | ||
| # Credits | ||
| These definitions were written by vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi>. |
| { | ||
| "authors": "vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi>", | ||
| "definitionFilename": "index.d.ts", | ||
| "libraryDependencies": [], | ||
| "moduleDependencies": [], | ||
| "libraryMajorVersion": "0", | ||
| "libraryMinorVersion": "0", | ||
| "libraryName": "PEG.js", | ||
| "typingsPackageName": "pegjs", | ||
| "projectName": "http://pegjs.org/", | ||
| "sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
| "sourceBranch": "types-2.0", | ||
| "kind": "UMD", | ||
| "globals": [ | ||
| "PEG" | ||
| ], | ||
| "declaredModules": [], | ||
| "files": [ | ||
| "index.d.ts" | ||
| ], | ||
| "contentHash": "e4680a944ad1a517d37d6b79f32d7ba64fe343dc51a613ba058d93d135f0fd89" | ||
| } |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3555
1.34%89
1.14%1
Infinity%