CLI for Oblique Strategies.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import { readFile } from 'fs/promises';
-
- // input is without the prefix
- export const read = async (input: string) => {
- const buffer = await readFile(input);
- const contents = buffer.toString('utf-8');
- return contents.split('\n\n');
- };
-
- export const prefix = 'file:///' as const;
|