scroll/src/scroll.ts

20 lines
324 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-01 15:27:31 -04:00
import { importForRuntime } from './common/index.ts';
2023-11-01 15:05:31 -04:00
/**
* Determine the runtime strategy, and go!
*/
(async () => {
2023-11-01 15:05:31 -04:00
const { main } = await importForRuntime('./index.ts');
2023-10-31 14:47:59 -04:00
await main();
2023-10-27 12:11:48 -04:00
})();