Socket
Socket
Sign inDemoInstall

biutiful

Package Overview
Dependencies
174
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    biutiful

Biutiful is a clever little CLI tool for transforming npm dependency trees into JavaScript import/export modules.


Version published
Maintainers
1
Created

Readme

Source

Biutiful

Biutiful transform ES imports into browser usable ECMAScript imports.

Getting Started

Using the command requires supplying the input directory which contains your source files in their original format, followed by the output (defaults to ./) directory which is where all of the files and ES modules will reside.

For example, to take the files from ./src and to write to ./public you'd supply the following:

biutiful --input ./src --output ./public

All of the dependencies found within node_modules will be placed into the es_modules directory, and have their imports updated – along with the source files – to map to the ES files using Babel's AST parser.

When traversing dependencies, Biutiful will attempt to find ES modules from the package.json file using the module and js:next entries respectively. If neither are found then either the main entry or ./index.js file will be used and the file(s) transpiled using Lebab.

FAQs

Last updated on 26 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc