Skip to content
Snippets Groups Projects
Unverified Commit 5c89aa54 authored by Alex Yang's avatar Alex Yang Committed by GitHub
Browse files

feat: abstract `node:os` (#422)

parent 69484526
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,12 @@ ...@@ -52,6 +52,12 @@
"import": "./dist/index.mjs", "import": "./dist/index.mjs",
"require": "./dist/index.js" "require": "./dist/index.js"
}, },
"./env": {
"types": "./dist/env.d.mts",
"edge-light": "./dist/env.edge-light.mjs",
"import": "./dist/env.mjs",
"require": "./dist/env.js"
},
"./storage/FileSystem": { "./storage/FileSystem": {
"types": "./dist/storage/FileSystem.d.mts", "types": "./dist/storage/FileSystem.d.mts",
"edge-light": "./dist/storage/FileSystem.edge-light.mjs", "edge-light": "./dist/storage/FileSystem.edge-light.mjs",
......
import { EOL } from "node:os"; import { EOL } from "./env";
// GitHub translated // GitHub translated
import { globalsHelper } from "./GlobalsHelper"; import { globalsHelper } from "./GlobalsHelper";
import { DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE } from "./constants"; import { DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE } from "./constants";
......
export const EOL = "\n";
import { EOL } from "node:os";
export { EOL };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment