browserify / browserify/path-browserify

Use deno_std path module?

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
192
フォーク
54
PR マージ指標
30日以内にマージされた PR はありません

説明

Would you mind switch to use `deno_std`'s path module? API is compatible with Node.js, simply use `deno bundle` to output es module, make bundlers do tree shaking better

```ts
// mod.ts
import { win32, posix } from 'https://deno.land/std@0.163.0/path/mod.ts'

export { win32, posix }

export const {
basename,
delimiter,
dirname,
extname,
format,
fromFileUrl,
isAbsolute,
join,
normalize,
parse,
relative,
resolve,
sep,
toFileUrl,
toNamespacedPath
} = posix
```

```bash
deno bundle mod.ts index.js
```

```jsonc
// package.json
{
"module": "./index.js",
"main": "./index.js",
"type": "module"
}
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by comparing the current module entry point with the proposed mod.ts exports, then review package.json and the deno bundle command. Confirm the deno_std path API works for the package's existing consumers and that the generated ES module and package metadata preserve the current interface.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
deno, javascript
領域
web-dev
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。