0.2.1 • Published 4 years ago
esrua v0.2.1
esrua
run function in script
usage
pnpm add esrua -gfeatures
if index.ts contain
export const welcome = (msg: string) => {
console.log(`hello ${msg}`)
}run esrua welcome -p world, also specify filepath is available, e.g. esrua <filepath> welcome -p world
options
--help- list all exported function, e.g.esura --help-p- function params, e.g.esrua welcome -p world
for type=module package:
change esrua to esmrua
development
- Setup -
pnpm i - Build -
pnpm build
built with ❤️ by 😼