@ainc/script

Script compiler for typescript

Usage no npm install needed!

<script type="module">
  import aincScript from 'https://cdn.skypack.dev/@ainc/script';
</script>

README

@ainc/script

Script compiler for typescript

Install

$ yarn add @ainc/script

Usage

import Script from '@ainc/script';

// create Script
const script = new Script();

// run code
script.run('console.log("run script")');

// execute file
script.execute('./script.ts');

// dependenise file
console.log(script.files);