esrua

0.2.1 • Public • Published

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 😼

Package Sidebar

Install

npm i esrua

Weekly Downloads

9

Version

0.2.1

License

MIT

Unpacked Size

12.3 kB

Total Files

7

Last publish

Collaborators

  • qidanta