mirror of
https://github.com/svemagie/obsidian-micropub.git
synced 2026-05-14 19:38:50 +02:00
2b2e5f33bf
- Add IndieAuth.ts: full PKCE sign-in flow via GitHub Pages relay - Add docs/index.html: client_id page fetched by IndieKit for app info - Add docs/callback/index.html: relay that forwards to obsidian:// URI - Update SettingsTab.ts: signed-in/signed-out UI, Sign In button - Update types.ts: authorizationEndpoint, tokenEndpoint, me fields - Update main.ts: register obsidian://micropub-auth protocol handler
33 lines
642 B
Markdown
33 lines
642 B
Markdown
# builtin-modules
|
|
|
|
> A static list of the Node.js builtin modules from the latest Node.js version
|
|
|
|
The list is just a [JSON file](builtin-modules.json) and can be used anywhere.
|
|
|
|
## Install
|
|
|
|
```sh
|
|
npm install builtin-modules
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
import builtinModules from 'builtin-modules';
|
|
|
|
console.log(builtinModules);
|
|
//=> ['assert', 'buffer', …]
|
|
```
|
|
|
|
## Tip
|
|
|
|
To get a list from the current Node.js version, use the built-in API:
|
|
|
|
```js
|
|
import {builtinModules} from 'node:module';
|
|
```
|
|
|
|
## Related
|
|
|
|
- [is-builtin-module](https://github.com/sindresorhus/is-builtin-module) - Check if a string matches the name of a Node.js builtin module
|