Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

esmtk

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esmtk

ES Module Toolkit

  • 0.5.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ES Module Toolkit

ESMTK, essential tools and libs for ES module development

GitHub Release NPM Releases Latest Status Release Status

Discord

Lint

Lint uses StandardJS to lint the source

Arguments

esmtk lint [--fix]

  • --fix - automatically fix problems

Usage

esmtk lint

Bundle

Bundle uses ESBuild to compile an ES module (and its deps) into a bundle

Arguments

esmtk bundle [input] [output]

  • [input] - the input source file path
  • [output] - the output bundle file path

Usage

esmtk bundle src/sample.js bundle.js

Minify

Minify uses ESBuild to compile an ES module (and its deps) into a minified bundle

Arguments

esmtk minify [input] [output]

  • [input] - the input source file path
  • [output] - the output bundle file path

Usage

esmtk minify src/sample.js bundle.min.js

CommonJS

CommonJS uses ESBuild to compile an ES module (and its deps) into a CommonJS bundle

Arguments

esmtk commonjs [input] [output]

  • [input] - the input source file path
  • [output] - the output bundle file path

Usage

esmtk commonjs src/sample.js bundle.cjs

Copy

Copy us a cross-platform clone of the cp command in Linux

Arguments

esmtk cp -rf [source] [destination]

  • [source] - the source file/glob
  • [destination] - the destination file/directory
  • -r, --recursive - copy files/directories recursively
  • -f --force - force overwrite existing files

Usage

esmtk cp src/* dest/

Keywords

FAQs

Package last updated on 12 Nov 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc