fuse-ts-raw-package
v1.0.2
Published
A sample package that's published to npm as `fuse-ts-raw-package`
Downloads
64
Readme
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")
}