@modular-rocks/workspace-node
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

A Workspace for working with virtual codebases

Installation

npm install @modular-rocks/workspace-node

or

yarn add @modular-rocks/workspace-node

Usage

Workspace-node is built directly on top of Workspace and adds further functionality for NodeJS environments. Additional options for node specific environments are:

Option Description Type
packageContents (optional) The hash contents of your package.json file Object{}
packagePath (optional) The path to your package.json file string

File also contains more node specific methods for AST parsing.

Important

Remember, this isn't only the version for NodeJS, its the version for virtualising a NodeJS codebase, in NodeJS.

Workspace is written in NodeJS, but can work with any codebase by reading files. This is why workspace-node uses packages like BabelJS to visit the AST, whereas workspace can be configured to use other parsers for other languages / environments.

Examples

Examples coming soon...

License

Apache 2.0

Readme

Keywords

none

Package Sidebar

Install

npm i @modular-rocks/workspace-node

Weekly Downloads

9

Version

0.1.7

License

Apache-2.0

Unpacked Size

27.7 kB

Total Files

19

Last publish

Collaborators

  • antonyfaris
  • dolnpm