@archsense/scout
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

Scout

Generate services graph

Installation

npm install @archsense/scout

How to use

Command line

npx scout nestjs -p <root-file-path> -c <config-file-path> -o <output-file-path>

Parameters

Parameter Name CLI Attribute CLI shortcut Mandatory Description
Path to root folder --project -p Yes Path to the root project root folder. It is disregarded if config is provided.
Path to config folder --config -c No If you'd like to run scout on monorepo, pass config instead of project root
Path to output file --output -o No If provided, the result will the stored in the output file

API

const Scout = require('scout');

const nestjsScout = new Scout({
  rootPath: '<path-to-root-folder>',
  configPath: '<path-to-config-folder>',
  framework: 'nestjs',
});

const dependencyTree = await nestjsScout.analyze();
await nestjsScout.saveFile(outputFilePath, dependencyTree);

Current support

  • Supported languages
    • Typescript
  • Supported framework
    • NestJs

Package Sidebar

Install

npm i @archsense/scout

Weekly Downloads

147

Version

0.2.5

License

MIT

Unpacked Size

37.8 kB

Total Files

31

Last publish

Collaborators

  • bolshchikov