npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

depack

0.0.1 • Public • Published

depack

npm version

depack is Unpackager Of Dependencies To Create "Zero-Dependency Build" With Closure.

yarn add -E depack

Table Of Contents

API

The package is available by importing its default function:

import depack from 'depack'

depack(
  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 depack from 'depack'
 
(async () => {
  const res = await depack({
    text: 'example',
  })
  console.log(res)
})()
example

Copyright

(c) Art Deco 2018

Keywords

install

npm i depack

Downloadsweekly downloads

0

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability