1.0.1 • Published 10 months ago

types-jison v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@types/jison

TypeScript Definitions for the Jison Parser Generator

Description

This package provides TypeScript type definitions for the popular Jison parser generator. With these type definitions, developers can leverage TypeScript's static typing to work more effectively with Jison-generated parsers.

Features

  • Accurate type definitions for Jison.
  • Provides better autocompletion and error-checking in TypeScript projects.
  • Compatible with Jison v0.3.0 and higher.

Installation

npm install @types/jison

Usage

After installing the package, simply import Jison as you normally would. TypeScript will automatically use the provided type definitions to improve the development experience

import { Parser } from 'jison';

// Example usage
const parser = new Parser(grammar);

Contributing

If you find any issues or have suggestions for improvement, please feel free to create an issue or submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details

1.0.1

10 months ago

1.0.0

10 months ago