acorn-static-class-features
Support for static class features in acorn
Last updated 5 years ago by adrianheine .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install acorn-static-class-features 
SYNC missed versions from official npm registry.

Static class features support for Acorn

NPM version

This is a plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.

It implements support for static class features as defined in the stage 3 proposal Static class features. The emitted AST follows the ESTree experimental Class Features design.

Usage

This module provides a plugin that can be used to extend the Acorn Parser class:

const {Parser} = require('acorn');
const staticClassFeatures = require('acorn-static-class-features');
Parser.extend(staticClassFeatures).parse('class X { static x = 0 }');

License

This plugin is released under an MIT License.

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

8 Versions

  • 1.0.0                                ...           5 years ago
  • 0.2.4                                ...           6 years ago
  • 0.2.3                                ...           6 years ago
  • 0.2.2                                ...           6 years ago
  • 0.2.1                                ...           6 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           8 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 7
Last Month 8
Dependencies (1)
Dev Dependencies (6)

Copyright 2013 - present © cnpmjs.org | Home |