No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
package.json

README.md

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")
}