open-index/open-npm huggingface dataset:
npm package: @oeyoews/tiddlywiki-plugin-dev
Description: [![](https://img.shields.io/badge/Join-TiddlyWiki_CN-blue)](https://github.com/tiddly-gittly)
Author: oeyoews
Latest version: 0.0.40

# tiddlywiki-plugin-dev

[![](https://img.shields.io/badge/Join-TiddlyWiki_CN-blue)](https://github.com/tiddly-gittly)

[中文README](https://github.com/tiddly-gittly/plugin-dev-cli/blob/main/README-zh.md)

Tiddlywiki plugin development tool, working with [Modern.TiddlyDev](https://github.com/tiddly-gittly/Modern.TiddlyDev).

This is a npm CLI tool, helping developers to develop and build [TiddlyWiki](https://tiddlywiki.com) plugins with TypeScript (If you don't know TypeScript, you can also use it as a handy plug-in development tool.)

## Usage

This tool needs to be used with [Modern.TiddlyDev](https://github.com/tiddly-gittly/Modern.TiddlyDev), so it is not introduced here, please refer to [the Document of Modern.TiddlyDev](https://tiddly-gittly.github.io/Modern.TiddlyDev) for detailed usage.

### help

```bash
npx tiddlywiki-plugin-dev help
```

output:

```
Usage: tiddlywiki-plugin-dev [options] [command]

Options:
  -h, --help       display help for command

Commands:
  dev              Develop yout plugins with Modern.TiddlyDev
  build [options]  Build plugins for Modern.TiddlyDev
  help [command]   display help for command
```

### Developing plugins

Start a TiddlyWiki server with your plugin(s) for test. It will always watch the file changes in the plugin folder(s) and refresh the browser page automatically.

```bash
npx tiddlywiki-plugin-dev dev
```

output:

```
Compiling...
████████████████████████████████████████ 100% | plugin-name

 syncer-server-filesystem: Dispatching 'save' task: $:/StoryList
Serving on http://127.0.0.1:8080
(press ctrl-C to exit)
```

### Build plugins

#### Build plugins alone

```bash
npx tiddlywiki-plugin-dev build
```

output:

```
Compiling...
████████████████████████████████████████ 100% | plugin-name

 Minimized plugins
   2.02 KiB   $:/plugins/your-name/plugin-name
```

#### Build with a plugin library (publishing to your subscribers)

```bash
npx tiddlywiki-plugin-dev build --library
```

output:

```
Compiling...
████████████████████████████████████████ 100% | plugin-name

 Minimized plugins
   2.02 KiB   $:/plugins/your-name/plugin-name

Generating plugin library...
 syncer-server-filesystem: Dispatching 'save' task: $:/StoryList
 syncer-server-filesystem: Dispatching 'save' task: $:/UpgradeLibrary/List
 syncer-server-filesystem: Dispatching 'delete' task: $:/UpgradeLibrary
 syncer-server-filesystem: Dispatching 'delete' task: $:/UpgradeLibrary/List
```
npm package: @oeyoews/tw5-typed
Description: Types for tiddlywiki
Latest version: 0.4.4

# TW5-Typed

TypeScript type definitions for TiddlyWiki5.

## Usage

First, install it as dev-dependency:

```sh
npm i -D tw5-typed
```

Add `tw5-typed` to your `tsconfig.json`'s `compilerOptions`

```json
{
  "compilerOptions": {
    "types": ["node", "tw5-typed"] /* Type declaration files to be included in compilation. */
  }
}
```

Then you will have global types like `$tw` automatically. You can import the rest of the types using `import type` statement:

```typescript
import type { ISearchOptions, SourceIterator, IFilterOperatorParamOperator } from 'tiddlywiki';
```

### Alias

Sometimes you may want to use a modified version of tw, you can re-export types like this in your `src/type.d.ts`:

```typescript
declare module '@tiddlygit/tiddlywiki' {
  export * from 'tiddlywiki';
}
```

## Development

Firstly, Install eslint using npm:

```sh
npm i
```

You can add new `*.d.ts` file to contain your types:

1. use `declare module 'tiddlywiki' { }` to wrap all your types.
1. don't forget to `export` all your types.
1. to add type for global variable, add `global { }` inside that `declare module 'tiddlywiki' { }`, like `global { var $tw: I$TW; }`
1. add type import like `/// <reference path="ast.d.ts" />` in the `tw.d.ts`

### Importing type from other files

- add type import like `/// <reference path="parser.d.ts" />`
- using normal import, like `import { parse } from './parser';` will not work

### Test in your node_modules

To rapid prototype the type, just right click a type to open `.d.ts` file in the `node_modules`, and try create new file there, and copy to this repo after a success.
npm package: @of-solution/design-system
Description: <ul>   <li>TSDX</li>   <li>React c/ Typescript</li>   <li>Styled-Components</li>   <li>Material UI</li> </ul>
Author: Ofsolution
Latest version: 1.6.10

# Ofsolution - Design System

## Tecnologias utilizadas

<ul>
  <li>TSDX</li>
  <li>React c/ Typescript</li>
  <li>Styled-Components</li>
  <li>Material UI</li>
</ul>

## Como usar


Faça login com a conta da Ofsolution no npm pelo terminal:

<code>npm login</code>

Com o login feito, rode esse comando:

<code>npm i @of-solution/design-system</code>

⚠️ É necessário a versão **v16** do Node para rodar o Storybook.

## Como atualizar a versão

Com as alterações feitas e commitadas, rode o comando <code>npm run prepare</code>. Esse comando irá buildar o projeto.

Após a build ter sido feita, rode o comando <code>npm version</code> com o sufixo do tipo de atualização que será feita: <code>major</code>, <code>minor</code>, <code>patch</code>

Enfim rode o comando <code>npm publish</code> para publicar o projeto no npm.

## Ultima estapa

Com a publicacao no npm, abrir o projeto e dar o comando <code>npm install @of-solution/design-system@latest --legacy-peer-deps</code> na branch main, ou outra branch e fazer o merge pra main
npm package: @ofa2/eslint-config-ofa2
Description: - 安装
Latest version: 1.0.2

## TypeScript

- 安装

```
npm install --save-dev eslint typescript typescript-eslint-parser babel-eslint eslint-plugin-typescript eslint-config-airbnb-base eslint-plugin-import @ofa2/eslint-config-ofa2
```

- 使用 `.eslintrc.js`

```js
module.exports = {
  globals: {},
  extends: ['@ofa2/eslint-config-ofa2'],
  rules: {},
};
```
npm package: @ofadiman/publish-to-npm
Description: @ofadiman/publish-to-npm is built for educational purposes and is intended to be used as a learning resource.
Author: Szymon Jaworski
Latest version: 0.1.7

# Publish to NPM

`@ofadiman/publish-to-npm` is built for educational purposes and is intended to be used as a learning resource.

## Workflow to publish changes

1. Create a new branch from `main` branch.
2. Implement a feature (e.g. add a new function).
3. Generate changeset using `pnpm changeset` command.
4. Review generated changeset.
5. Commit changes and push to the remote repository.
6. Open a pull request to `main` branch.
7. Merge the pull request.
8. Enjoy automated package deployment.
npm package: @ofan/telemetry-relay-sdk
Description: Lightweight client SDK for telemetry-relay
Latest version: 0.2.1

# telemetry-relay-sdk

Lightweight client SDK for [telemetry-relay](https://github.com/ofan/telemetry-relay). Fire-and-forget telemetry from any JS/TS runtime.

## Install

```bash
npm install @ofan/telemetry-relay-sdk
```

## Usage

```ts
import { createRelay } from "@ofan/telemetry-relay-sdk";

const relay = createRelay({
  url: "https://your-relay.workers.dev",
  token: "your-relay-token",
});

// Track an event
await relay.track("my-cli", "command_run", "1.0.0", {
  command: "build",
  duration_ms: 120,
});

// Properties are optional
await relay.track("my-cli", "started", "1.0.0");
```

## API

### `createRelay(options)`

Returns a `Relay` instance.

| Option | Type | Description |
|--------|------|-------------|
| `url` | `string` | Your telemetry-relay Worker URL |
| `token` | `string` | Bearer token for authentication |

### `relay.track(tool, event, version, properties?)`

Sends a single event to the relay. Returns `Promise<void>`.

| Param | Type | Description |
|-------|------|-------------|
| `tool` | `string` | Your tool/project name (e.g. `"my-cli"`) |
| `event` | `string` | Event name (e.g. `"command_run"`) |
| `version` | `string` | Your tool's version (e.g. `"1.2.0"`) |
| `properties` | `Record<string, unknown>` | Optional event metadata |

## Behavior

- **Fire-and-forget** — network errors are silently swallowed. Telemetry should never break your app.
- **No batching** — each `track()` call sends one HTTP request immediately.
- **No dependencies** — uses the global `fetch` API.
- **Universal** — works in Node.js 18+, Bun, Deno, and browsers.

## Example: CLI tool

```ts
import { createRelay } from "@ofan/telemetry-relay-sdk";

const relay = createRelay({
  url: process.env.TELEMETRY_URL!,
  token: process.env.TELEMETRY_TOKEN!,
});

// Track on startup
relay.track("my-cli", "started", version);

// Track commands
relay.track("my-cli", "command_run", version, {
  command: process.argv[2],
  flags: process.argv.slice(3),
});

// Track errors
process.on("uncaughtException", (err) => {
  relay.track("my-cli", "error", version, {
    message: err.message,
  });
});
```

## License

MIT
npm package: @ofarukcaki/ip-range
Description: Check if the given IP address is in the provided range.
Author: Faruk Caki
Latest version: 1.0.2

# ip-range

Check if the given IP address is in the provided range.

## Install

```
npm i @ofarukcaki/ip-range
```

## Usage

```javascript
const Iprange = require('@ofarukcaki/ip-range').default;

const initialRanges = [
  ['0.0.0.1', '0.0.0.255'],
  ['123.123.0.0', '123.123.124.255'],
  ['66.0.0.0', '66.1.0.0'],
];

/* Initialize a new range by providing an array of string arrays
 * consists of start-end addresses of an IP.
 * Don't pass a parameter if you don't want to initialize on creation
 */
const range = new Iprange(initialRanges);

// add a new range
const newRange = ['192.0.0.1', '192.0.0.5'];
range.addRange(newRange);

console.log(range.checkIP('123.123.1.0')); // true

console.log(range.checkIP('66.0.1.255')); // true

console.log(range.checkIP('192.0.0.0')); // false

```