static-analysis

0.0.0 • Public • Published

static-analysis

npm version

static-analysis is Performs Static Analysis On JavaScript Programs To Build Dependency Trees.

yarn add -E static-analysis

Table Of Contents

API

The package is available by importing its default function:

import staticAnalysis from 'static-analysis'

staticAnalysis(
  arg1: string,
  arg2?: boolean,
): void

Call this function to get the result you want.

Config: Options for the program.

Name Type Description Default
shouldRun boolean A boolean option. true
text* string A text to return. -
/* yarn example/ */
import staticAnalysis from 'static-analysis'

(async () => {
  const res = await staticAnalysis({
    text: 'example',
  })
  console.log(res)
})()
example

Copyright

(c) Art Deco 2019

Package Sidebar

Install

npm i static-analysis@0.0.0

Version

0.0.0

License

MIT

Unpacked Size

5.82 kB

Total Files

9

Last publish

Collaborators

  • zvr