npm

Need private packages and team management tools?Check out npm Orgs. »

@idio/idio

0.1.0 • Public • Published

@idio/idio

npm version

@idio/idio is @Goa/Koa Web Server Bundled With Essential Middleware.

yarn add @idio/idio

Table Of Contents

API

The package is available by importing its default function:

import idio from '@idio/idio'

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

Call this function to get the result you want.

_@idio/idio.Config: Options for the program.

Name Type Description Default
shouldRun boolean A boolean option. true
text* string A text to return. -
/* alanode example/ */
import idio from '@idio/idio'
 
(async () => {
  const res = await idio({
    text: 'example',
  })
  console.log(res)
})()
example

Copyright

(c) Idio 2019

Keywords

install

npm i @idio/idio

Downloadsweekly downloads

4

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability