@reuters-graphics/ejector

v0.0.3
Eject a dependency's source files from your `node_modules` directly into your working directory.

⏏️ EJECTOR

Eject a dependency's source files from your node_modules directly into your working directory.

npm version Reuters open source software

Why this?

TK.

Quickstart

$ yarn global add @reuters-graphics/ejector

CLI

Run ejector from the root of your project, and it will ask you which dependency you'd like to eject.

$ ejector

You can also supply a filter to limit the dependency options.

$ ejector -f @reuters-graphics

Module

import Ejector from '@reuters-graphics/ejector';

const ejector = new Ejector();

await ejector.eject();

// ... or with a filter
await ejector.eject('@reuters-graphics');

Testing

$ yarn build && yarn test
npm i @reuters-graphics/ejector

Metadata

  • MIT
  • Whatever
  • Jon McClure
  • released 1/3/2021

Downloads