Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.99 KB

README.md

File metadata and controls

65 lines (44 loc) · 1.99 KB

@moderne/moderne

npm version

@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

Table Of Contents

API

The package is available by importing its default function:

import moderne from '@moderne/moderne'

moderne(
  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 moderne from '@moderne/moderne'

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

Copyright

(c) Moderne 2018