README.ja.md
This file
Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 1–5why, one step back1# Nano ID23<img src="https://ai.github.io/nanoid/logo.svg" align="right"4 alt="Nano ID logo by Anton Lovchikov" width="180" height="94">5docs: add Arabic README translation (#556)Mahmoud Hamdybefore adoptiondc629c5
line 6why, one step back6[English](./README.md) | **日本語** | [Русский](./README.ru.md) | [简体中文](./README.zh-CN.md) | [Bahasa Indonesia](./README.id-ID.md) | [한국어](./README.ko.md) | [العربية](./README.ar.md)Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 7–12why, one step back78JavaScriptのための小さく、安全で、URL友好的なユニークな文字列ID生成器。910> 「意味不明なレベルの完璧主義、11> これは尊敬せざるを得ない。」12Reduce Nano ID size to 117 bytes (#613)Alexander Bayandinbefore adoption05057d8
line 13why, one step back13- **小さい。** 117バイト(圧縮・brotli圧縮後)。依存関係なし。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
line 14why, one step back14 [Size Limit]がサイズを管理。Port amazing nope-id optimizations (#602)Andrey Sitnikbefore adoptionb1bb75f
line 15why, one step back15- **高速。** ネイティブの`crypto.randomUUID()`より50%高速。Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 16–17why, one step back16- **安全。** ハードウェア乱数生成器を使用。クラスタでも利用可能。17- **短いID。** UUIDより大きなアルファベット(A-Za-z0-9\_-)を使用。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
line 18why, one step back18 そのためID長は36から21文字に短縮されています。Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 19why, one step back19- **移植性。** Nano IDは[20以上のプログラミング言語](./README.md#other-programming-languages)に移植されています。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 20–21why, one step back2021```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 22–23why, one step back22import { nanoid } from "nanoid";23model.id = nanoid(); //=> "V1StGXR8_Z5jdHi6B-myT"Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 24–27why, one step back24```2526---27Update EM bannerAndrey Sitnikbefore adoptionb49a237
line 28why, one step back28<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" /> Nano ID は <b><a href="https://evilmartians.com/">Evil Martians</a></b> が開発しています。私たちは<b>開発者ツール、AI、サイバーセキュリティのスタートアップ</b>を支援するアメリカのデザイン・エンジニアリングコンサルティング会社です。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 29–31why, one step back2930---31Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 32why, one step back32[Size Limit]: https://github.com/ai/size-limitAdd Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 33–44why, one step back3334## 目次3536- [目次](#目次)37- [UUIDとの比較](#uuidとの比較)38- [ベンチマーク](#ベンチマーク)39- [セキュリティ](#セキュリティ)40- [インストール](#インストール)41 - [CDN](#cdn)42- [API](#api)43 - [カスタムアルファベットまたはサイズ](#カスタムアルファベットまたはサイズ)44 - [カスタムランダムバイト生成器](#カスタムランダムバイト生成器)Update docsAndrey Sitnikbefore adoptionc0779bd
line 45why, one step back45 - [非セキュア](#非セキュア)Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 46–67why, one step back46- [使用方法](#使用方法)47 - [React](#react)48 - [React Native](#react-native)49 - [PouchDBとCouchDB](#pouchdbとcouchdb)50 - [CLI](#cli)51 - [TypeScript](#typescript)52 - [その他のプログラミング言語](#その他のプログラミング言語)53- [ツール](#ツール)5455## UUIDとの比較5657Nano IDはUUID v4(ランダムベース)と十分に比較可能です。58ID内のランダムビット数は同様です(Nano IDで126ビット、UUIDで122ビット)、59そのため衝突確率も同様です:6061> 10億分の1の確率で重複が発生するには、62> 103兆個のバージョン4 IDを生成する必要があります。6364Nano IDとUUID v4の主な違いは2つあります:65661. Nano IDはより大きなアルファベットを使用するため、同様のランダムビット数が67 36文字ではなく21文字に詰め込まれています。Port amazing nope-id optimizations (#602)Andrey Sitnikbefore adoptionb1bb75f
line 68why, one step back682. Nano IDは`crypto.randomUUID`や`uuid/v4`よりも高速です。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 69–73why, one step back6970## ベンチマーク7172```rust73$ node ./test/benchmark.jsPort amazing nope-id optimizations (#602)Andrey Sitnikbefore adoptionb1bb75f
lines 74–84why, one step back74nope-id 20,386,830 ops/sec75nanoid 20,434,827 ops/sec76customAlphabet 20,544,476 ops/sec77crypto.randomUUID 12,865,759 ops/sec78uuid v4 7,930,104 ops/sec79@napi-rs/uuid 5,573,171 ops/sec80uid/secure 6,308,267 ops/sec81@lukeed/uuid 5,278,597 ops/sec82nanoid for browser 311,497 ops/sec83secure-random-string 301,667 ops/sec84uid-safe.sync 297,815 ops/secAdd Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 85–86why, one step back8586Non-secure:Port amazing nope-id optimizations (#602)Andrey Sitnikbefore adoptionb1bb75f
lines 87–89why, one step back87uid 20,286,757 ops/sec88nanoid/non-secure 2,397,594 ops/sec89rndm 2,445,462 ops/secAdd Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 90–93why, one step back90```9192## セキュリティ93Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 94–95why, one step back94_乱数生成器の理論に関する良い記事を参照してください:95[Secure random values (in Node.js)]_Add Japanese README and language selector options (#530)shogo7before adoption6d48913
line 96why, one step back96Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 97why, one step back97- **予測不可能性。** 安全でないMath.random()を使う代わりに、Nano IDはAdd Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 98–99why, one step back98 Node.jsではcryptoモジュールを、ブラウザではWeb Crypto APIを使用します。99 これらのモジュールは予測不可能なハードウェア乱数生成器を使用します。Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 100why, one step back100- **均一性。** random % alphabetはID生成器をコーディングする際によくある間違いです。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 101–107why, one step back101 分布は均一ではなく、一部の記号が他のものより出現確率が低くなります。102 そのため、総当たり攻撃の際に試行回数が減少します。Nano IDは[より良いアルゴリズム]を103 使用し、均一性についてテストされています。104105 <img src="img/distribution.png" alt="Nano ID uniformity"106 width="340" height="135">107Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 108why, one step back108- **十分に文書化されている:** Nano IDのすべてのハックは文書化されています。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
line 109why, one step back109 [ソース]のコメントを参照してください。Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 110why, one step back110- **脆弱性:** セキュリティの脆弱性を報告するには、Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 111–114why, one step back111 [Tideliftセキュリティ連絡先](https://tidelift.com/security)を使用してください。112 Tideliftが修正と開示を調整します。113114[Secure random values (in Node.js)]: https://gist.github.com/joepie91/7105003c3b26e65efcea63f3db82dfbaMove from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 115–116why, one step back115[より良いアルゴリズム]: https://github.com/ai/nanoid/blob/main/index.js116[ソース]: https://github.com/ai/nanoid/blob/main/index.jsAdd Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 117–128why, one step back117118## インストール119120```bash121npm install nanoid122```123124### CDN125126クイックハックの場合、CDNからNano IDを読み込むことができます。ただし、読み込みパフォーマンスが低いため、本番環境での使用はお勧めしません。127128```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 129why, one step back129import { nanoid } from "https://cdn.jsdelivr.net/npm/nanoid/nanoid.js";Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 130–133why, one step back130```131132## API133Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 134why, one step back134デフォルトでは、Nano IDはURL友好的な記号(A-Za-z0-9\_-)を使用し、Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 135–137why, one step back13521文字のID(UUID v4と同様の衝突確率を持つ)を返します。136137```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 138–139why, one step back138import { nanoid } from "nanoid";139model.id = nanoid(); //=> "V1StGXR8_Z5jdHi6B-myT"Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 140–145why, one step back140```141142IDのサイズを小さくしたい場合(衝突確率を高める)、143サイズを引数として渡すことができます。144145```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 146why, one step back146nanoid(10); //=> "IRFa-VaY2b"Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 147–160why, one step back147```148149IDサイズの安全性を[ID衝突確率]計算機で確認することを忘れないでください。150151[カスタムアルファベット](#カスタムアルファベットまたはサイズ)や152[ランダム生成器](#カスタムランダムバイト生成器)も使用できます。153154[ID衝突確率]: https://zelark.github.io/nano-id-cc/155156### カスタムアルファベットまたはサイズ157158customAlphabetは、独自のアルファベットとIDサイズでnanoidを作成できる関数を返します。159160```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 161–163why, one step back161import { customAlphabet } from "nanoid";162const nanoid = customAlphabet("1234567890abcdef", 10);163model.id = nanoid(); //=> "4f90d13a42"Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 164–166why, one step back164```165166```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 167–169why, one step back167import { customAlphabet } from "nanoid/non-secure";168const nanoid = customAlphabet("1234567890abcdef", 10);169user.id = nanoid();Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 170–180why, one step back170```171172カスタムアルファベットとIDサイズの安全性を[ID衝突確率]計算機で確認してください。173より多くのアルファベットについては、[nanoid-dictionary]のオプションを確認してください。174175アルファベットは256記号以下でなければなりません。176そうでない場合、内部生成アルゴリズムのセキュリティは保証されません。177178デフォルトサイズを設定するだけでなく、関数を呼び出す際にIDサイズを変更することもできます:179180```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 181–183why, one step back181import { customAlphabet } from "nanoid";182const nanoid = customAlphabet("1234567890abcdef", 10);183model.id = nanoid(5); //=> "f01a2"Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 184–185why, one step back184```185Update collision calculator URL in all README translations (#568)Mahmoud Hamdybefore adoptiond8fba79
line 186why, one step back186[ID衝突確率]: https://zelark.github.io/nano-id-cc/Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 187why, one step back187[nanoid-dictionary]: https://github.com/CyberAP/nanoid-dictionaryAdd Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 188–195why, one step back188189### カスタムランダムバイト生成器190191customRandomを使用すると、nanoidを作成し、アルファベットとデフォルトのランダムバイト生成器を置き換えることができます。192193この例では、シードベースの生成器が使用されています:194195```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 196why, one step back196import { customRandom } from "nanoid";Add Japanese README and language selector options (#530)shogo7before adoption6d48913
line 197why, one step back197Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 198–201why, one step back198const rng = seedrandom(seed);199const nanoid = customRandom("abcdef", 10, (size) => {200 return new Uint8Array(size).map(() => 256 * rng());201});Add Japanese README and language selector options (#530)shogo7before adoption6d48913
line 202why, one step back202Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 203why, one step back203nanoid(); //=> "fbaefaadeb"Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 204–210why, one step back204```205206randomコールバックは配列サイズを受け取り、ランダムな数値の配列を返す必要があります。207208customRandomで同じURL友好的な記号を使用したい場合は、urlAlphabetを使用してデフォルトのアルファベットを取得できます。209210```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 211–212why, one step back211const { customRandom, urlAlphabet } = require("nanoid");212const nanoid = customRandom(urlAlphabet, 10, random);Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 213–215why, one step back213```214215なお、Nano IDのバージョン間でランダム生成器の呼び出しシーケンスが変更される場合があります。シードベースの生成器を使用している場合、同じ結果を保証するものではありません。Update docsAndrey Sitnikbefore adoptionc0779bd
lines 216–221why, one step back216217### 非セキュア218219Nano IDはセキュリティと低衝突確率のためにハードウェアランダムバイト生成を使用します。セキュリティにそれほど関心がない場合は、ハードウェア乱数生成器がない環境でも使用できます。220221```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 222–223why, one step back222import { nanoid } from "nanoid/non-secure";223const id = nanoid(); //=> "Uakgb_J5m9g-0JDMbcJqLJ"Update docsAndrey Sitnikbefore adoptionc0779bd
lines 224–226why, one step back224```225226なお、非セキュア版はセキュア版よりも*遅い*ことに注意してください。どうしても必要な場合のみ使用してください。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 227–234why, one step back227228## 使用方法229230### React231232Reactの`key` propにNano IDを使用する正しい方法はありません。なぜなら、keyはレンダー間で一貫性がある必要があるからです。233234```jsxMove from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 235why, one step back235function Todos({ todos }) {Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 236–237why, one step back236 return (237 <ul>Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 238why, one step back238 {todos.map((todo) => (Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 239why, one step back239 <li key={nanoid()}>Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 240why, one step back240 {" "}Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 241why, one step back241 /* これはやめましょう */Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 242–245why, one step back242 {todo.text}243 </li>244 ))}245 </ul>Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 246why, one step back246 );Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 247–252why, one step back247}248```249250代わりに、リストアイテム内で安定したIDを使用するようにしましょう。251252```jsxReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 253why, one step back253const todoItems = todos.map((todo) => <li key={todo.id}>{todo.text}</li>);Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 254–258why, one step back254```255256安定したIDがない場合は、`nanoid()`の代わりにインデックスを`key`として使用することをお勧めします:257258```jsxMove from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 259–260why, one step back259const todoItems = todos.map((text, index) => (260 <li key={index}>Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 261why, one step back261 {" "}Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 262–263why, one step back262 /* まだ推奨されませんが、nanoid()よりは優先されます。263 アイテムに安定したIDがない場合のみ行ってください。 */Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 264–265why, one step back264 {text}265 </li>Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 266why, one step back266));Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 267–271why, one step back267```268269ラベルと入力フィールドのように要素を関連付けるためだけにランダムなIDが必要な場合は、[`useId`]が推奨されます。270このフックはReact 18で追加されました。271Fix outdated size and links in README translations (#570)Mahmoud Hamdybefore adoption0232bae
line 272why, one step back272[`useId`]: https://react.dev/reference/react/useIdAdd Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 273–282why, one step back273274### React Native275276React Nativeには組み込みのランダム生成器がありません。次のポリフィルは277プレーンなReact NativeとExpo(`39.x`以降)で動作します。2782791. [`react-native-get-random-values`]のドキュメントを確認し、インストールします。2802. Nano IDの前にインポートします。281282```jsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 283–284why, one step back283import "react-native-get-random-values";284import { nanoid } from "nanoid";Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 285–335why, one step back285```286287[`react-native-get-random-values`]: https://github.com/LinusU/react-native-get-random-values288289### PouchDBとCouchDB290291PouchDBとCouchDBでは、IDはアンダースコア`_`で始めることができません。292Nano IDはデフォルトでIDの先頭に`_`を使用する可能性があるため、293この問題を防ぐためにプレフィックスが必要です。294295次のオプションでデフォルトのIDを上書きします:296297```js298db.put({299 _id: 'id' + nanoid(),300 …301})302```303304### CLI305306ターミナルで`npx nanoid`を呼び出すことで、一意のIDを取得できます。307システムにNode.jsがあれば十分で、Nano IDをどこかにインストールする必要はありません。308309```sh310$ npx nanoid311npx: installed 1 in 0.63s312LZfXLFzPPR4NNrgjlWDxn313```314315生成されるIDのサイズは`--size`(または`-s`)オプションで指定できます:316317```sh318$ npx nanoid --size 10319L3til0JS4z320```321322カスタムアルファベットは`--alphabet`(または`-a`)オプションで指定できます323(この場合、`--size`が必須であることに注意してください):324325```sh326$ npx nanoid --alphabet abc --size 15327bccbcabaabaccab328```329330### TypeScript331332Nano IDでは、生成された文字列をTypeScriptで不透明な文字列(opaque strings)にキャストできます。333例えば:334335```tsReduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 336–337why, one step back336declare const userIdBrand: unique symbol;337type UserId = string & { [userIdBrand]: true };Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 338–339why, one step back338339// 明示的な型パラメータを使用:Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
line 340why, one step back340mockUser(nanoid<UserId>());Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 341–342why, one step back341342interface User {Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 343–344why, one step back343 id: UserId;344 name: string;Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 345–349why, one step back345}346347const user: User = {348 // 自動的にUserIdにキャストされます:349 id: nanoid(),Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5
lines 350–351why, one step back350 name: "Alice",351};Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 352–358why, one step back352```353354### その他のプログラミング言語355356Nano IDは多くの言語に移植されています。これらのポートを使用して、357クライアント側とサーバー側で同じID生成器を持つことができます。358Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 359–379why, one step back359- [C](https://github.com/lukateras/nanoid.h)360- [C#](https://github.com/codeyu/nanoid-net)361- [C++](https://github.com/mcmikecreations/nanoid_cpp)362- [Clojure and ClojureScript](https://github.com/zelark/nano-id)363- [ColdFusion/CFML](https://github.com/JamoCA/cfml-nanoid)364- [Crystal](https://github.com/mamantoha/nanoid.cr)365- [Dart & Flutter](https://github.com/pd4d10/nanoid-dart)366- [Elixir](https://github.com/railsmechanic/nanoid)367- [Gleam](https://github.com/0xca551e/glanoid)368- [Go](https://github.com/matoous/go-nanoid)369- [Haskell](https://github.com/MichelBoucey/NanoID)370- [Haxe](https://github.com/flashultra/uuid)371- [Janet](https://sr.ht/~statianzo/janet-nanoid/)372- [Java](https://github.com/wosherco/jnanoid-enhanced)373- [Kotlin](https://github.com/viascom/nanoid-kotlin)374- [MySQL/MariaDB](https://github.com/viascom/nanoid-mysql-mariadb)375- [Nim](https://github.com/icyphox/nanoid.nim)376- [OCaml](https://github.com/routineco/ocaml-nanoid)377- [Perl](https://github.com/tkzwtks/Nanoid-perl)378- [PHP](https://github.com/hidehalo/nanoid-php)379- Python [ネイティブ](https://github.com/puyuan/py-nanoid)実装Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 380–381why, one step back380 [辞書](https://pypi.org/project/nanoid-dictionary)付きと381 [高速](https://github.com/oliverlambson/fastnanoid)実装(Rustで書かれています)Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 382why, one step back382- Postgres [拡張機能](https://github.com/spa5k/uids-postgres)Add Japanese README and language selector options (#530)shogo7before adoption6d48913
line 383why, one step back383 と[ネイティブ関数](https://github.com/viascom/nanoid-postgres)Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 384–390why, one step back384- [R](https://github.com/hrbrmstr/nanoid)(辞書付き)385- [Ruby](https://github.com/radeno/nanoid.rb)386- [Rust](https://github.com/nikolay-govorov/nanoid)387- [Swift](https://github.com/ShivaHuang/swift-nanoid)388- [Unison](https://share.unison-lang.org/latest/namespaces/hojberg/nanoid)389- [V](https://github.com/invipal/nanoid)390- [Zig](https://github.com/SasLuca/zig-nanoid)Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 391–397why, one step back391392その他の環境では、コマンドラインからIDを生成するための[CLI]が利用可能です。393394[CLI]: #cli395396## ツール397Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 398–400why, one step back398- [IDサイズ計算機]は、IDのアルファベットやサイズを調整する際の衝突確率を表示します。399- [`nanoid-dictionary`]は[`customAlphabet`]で使用する一般的なアルファベットを提供します。400- [`nanoid-good`]はIDに不適切な単語が含まれていないことを確認します。Add Japanese README and language selector options (#530)shogo7before adoption6d48913
lines 401–402why, one step back401402[`nanoid-dictionary`]: https://github.com/CyberAP/nanoid-dictionaryMove from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 403–405why, one step back403[IDサイズ計算機]: https://zelark.github.io/nano-id-cc/404[`customAlphabet`]: #カスタムアルファベットまたはサイズ405[`nanoid-good`]: https://github.com/y-gagar1n/nanoid-good