@mnpjs/analyse
is The analyse cloud function that will download the project directory and extract its metadata for each release.
yarn add -E @mnpjs/analyse
The package is available by importing its default function:
import analyse from '@mnpjs/analyse'
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 analyse from '@mnpjs/analyse'
(async () => {
const res = await analyse({
text: 'example',
})
console.log(res)
})()
example
(c) MNP 2018