/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ext/node/polyfills/path/posix.ts
27 строк
554 B
Bartek Iwańczuk
perf(ext/node): convert node:path to lazy-loaded JS (#33917)
08 май 2026, 13:18
Не верифицирован
08 май 2026, 13:18
8660edf
Код
Авторство
О чём код?
// Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ // Copyright 2018-2026 the Deno authors. MIT license. import { core } from "ext:core/mod.js"; const mod = core.loadExtScript("ext:deno_node/path/mod.ts"); export const { basename, delimiter, dirname, extname, format, isAbsolute, join, normalize, parse, relative, resolve, sep, toNamespacedPath, _makeLong, } = mod.posix; export const posix = mod.posix; export const win32 = mod.win32; export default mod.posix;