estree-util-value-to-estree-cjs
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

estree-util-value-to-estree-cjs

A wrapper of remcohaszing's brilliant estree-util-value-to-estree, packaged to be imported synchronously into CJS projects.

In most scenarios you should NOT use this package. Instead, consider:

Usage

Use this where you'd otherwise use estree-util-value-to-estree, for example:

const { valueToEstree } = require('estree-util-value-to-estree-cjs');

module.exports = valueToEstree({
  name: "Adam"
})

Contributing

Pull requests are welcomed on GitHub! To get started:

  1. Install Git and Node.js
  2. Clone the repository
  3. Install dependencies with npm install
  4. Run npm run test to run tests
  5. Build with npm run build

Releases

Versions follow the versioning of estree-util-value-to-estree.

To release:

  1. Use npm version <version> --allow-same-version to bump the version
  2. Make sure estree-util-value-to-estree's version matches (npm test will check this for you)
  3. Run git push --follow-tags to push with tags
  4. Wait for GitHub Actions to publish to the NPM registry.

Readme

Keywords

none

Package Sidebar

Install

npm i estree-util-value-to-estree-cjs

Weekly Downloads

0

Version

3.0.1

License

MIT

Unpacked Size

9.35 kB

Total Files

5

Last publish

Collaborators

  • domdomegg