0.2.1 • Published 2 years ago

esrua v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

esrua

run function in script

npm GitHub

usage

pnpm add esrua -g

features

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 😼