@moderne/moderne
is The Side-To-IDE Developer Tool To Manage Contents Of Packages Expressed As Maps Of Code, Docs and Tests On Function Level; Elimintate Plumbing By Facsilitating Maintanance Of Abstract Package Structure; Build Packages With Closure For Publishing; Synchronise With Remote Source Control; Support Templates For Modern Node.js Apps; Deploy API As Serverless Functions.
yarn add -E @moderne/moderne
The package is available by importing its default function:
import moderne from '@moderne/moderne'
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 moderne from '@moderne/moderne'
(async () => {
const res = await moderne({
text: 'example',
})
console.log(res)
})()
example
(c) Moderne 2018