Skip to content
Sections
>> Trisquel >> Pakete >> etiona >> javascript >> node-json2module
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: node-json2module  ]

Paket: node-json2module (0.0.3-1)

Convert a JSON object to an ES6 module

For example, given a package.json file and run this through json2module, you’ll get ES6 module as output.

This is particularly useful for exporting a version number defined in your package.json file when using Rollup. Unlike rollup-plugin-json, which enables Rollup to parse JSON directly, json2module creates standard ES6 modules that can be consumed by any client.

Node.js is an event-based server-side JavaScript engine.

Andere Pakete mit Bezug zu node-json2module

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: node-rw (>= 1.3.2)
    provide file like interface to stdin and stdout
  • dep: nodejs
    evented I/O for V8 javascript

node-json2module herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 6,2 kB33 kB [Liste der Dateien]