fuse-ts-raw-package
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

fuse-ts-raw-package

A sample package that's published to npm as fuse-ts-raw-package

It uses an amazing import syntax that will be understood even within an external package by FuseBox

// zxcvbn will be split lazy loaded in the final FuseBox build 
export async function checkPassword(pwd : string, opts ?: any){
    const  zxcvbn = import("zxcvbn");
    return zxcvbn(pwd, opts)
}

How to test it

import { checkPassword } from "fuse-ts-raw-package"

async function testMe(){
    await checkPassword("123456")
}

Readme

Keywords

none

Package Sidebar

Install

npm i fuse-ts-raw-package

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • nchanged