@depack/bundle-link is The Linked Package.
yarn add @depack/bundle-linkThe package is available by importing its default function:
import bundleLink from '@depack/bundle-link'Call this function to get the result you want.
_@depack/bundle-link.Config: Options for the program.
| Name | Type | Description | Default |
|---|---|---|---|
| shouldRun | boolean | A boolean option. | true |
| text* | string | A text to return. | - |
/* alanode example/ */
import bundleLink from '@depack/bundle-link'
(async () => {
const res = await bundleLink({
text: 'example',
})
console.log(res)
})()example
(c) Art Deco 2019