scroll/src/scroll.ts

20 lines
320 B
JavaScript
Raw Normal View History

2023-10-27 12:11:48 -04:00
/**
* The starting point for running scroll
*/
export enum RunTime {
Bun = 'bun',
Deno = 'deno',
Unknown = 'common',
}
2023-11-03 11:59:58 -04:00
import { importForRuntime } from './common/mod.ts';
2023-11-01 15:05:31 -04:00
/**
* Determine the runtime strategy, and go!
*/
(async () => {
2023-11-03 11:59:58 -04:00
const { main } = await importForRuntime('./mod.ts');
2023-10-31 14:47:59 -04:00
await main();
2023-10-27 12:11:48 -04:00
})();