open-index/open-npm huggingface dataset:
npm package: @ouracademy/range
Description: A range
Latest version: 1.5.1

# Range

A package for dealing with ranges (start, end) - aka interval
written in typescript, but works with vanilla JS.

More on [API docs](https://ouracademy.github.io/range/) or our specifications (.spec files) for more examples

## Motivation

Well my motivation is just taste & some useful methods

```js
const aRange = range(0, 5);

if (0 <= myAge && myAge <= 5) console.log("I'm a baby.");
if (aRange.includes(myAge)) console.log("I'm a baby.");

for (let n = 0; n <= 5; n += 2) console.log(n);
for (let n of aRange.step(2)) console.log(n);
```

## Usage

```js
import { range } from '@ouracademy/range';

const aRange = range(1, 10); // or interval(1, 10)

String(aRange); // "[1,10]"
String(range(15)); // "[0,15]"
range(2, 10).lenght; // 9
aRange.includes(9); // true
aRange.includes(11); // false
aRange.includes(0); // false
aRange.includes(range(2, 10)); // true
aRange.includes(range(0, 10)); // false
aRange.includes(range(1, 11)); // false

aRange.step(); // lazy evaluated - 1, 2 ...10
aRange.step(2); // 1, 5, 9

aRange.toArray(); // [1, 2 ... 10]
aRange.toArray(2); // [1, 5, 9]
```

There are other useful functions like: `intersection`, `overlaps` that could be found in the [API doc](https://ouracademy.github.io/range/).
npm package: @ouractivities/breakfast
Description: [![Node.js CI](https://github.com/OurActivities/breakfast/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/breakfast/actions/workflows/publish.yml)
Author: Willem van Heemstra
Latest version: 1.0.0

[![Node.js CI](https://github.com/OurActivities/breakfast/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/breakfast/actions/workflows/publish.yml)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

breakfast
# Breakfast
npm package: @ouractivities/condition
Description: [![Node.js CI](https://github.com/OurActivities/condition/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/condition/actions/workflows/publish.yml)
Author: Willem van Heemstra
Latest version: 1.0.0

[![Node.js CI](https://github.com/OurActivities/condition/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/condition/actions/workflows/publish.yml)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

condition
# Condition 

> To train somebody/something to behave in a particular way or to become used to a particular situation.

Based on "Wooden on Leadership" by John Wooden (ebook)

Based on "The Universal Foundations for a Good Life" at https://www.scotthyoung.com/blog/2024/07/02/foundations-for-good-life/

Based on "The Twelve Foundations for a Good Life" at https://www.scotthyoung.com/blog/2024/07/09/the-twelve-foundations-for-a-good-life/

## 100 - Introduction

See [README.md](./100/README.md)

## 200 - Requirements

See [README.md](./200/README.md)

## 300 - Conducting Our Activity

See [README.md](./300/README.md)

## 400 - Conclusion

See [README.md](./400/README.md)
npm package: @ouractivities/dress
Description: [![Node.js CI](https://github.com/OurActivities/dress/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/dress/actions/workflows/publish.yml)
Author: Willem van Heemstra
Latest version: 1.0.0

[![Node.js CI](https://github.com/OurActivities/dress/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/dress/actions/workflows/publish.yml)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

# Dress 

>  To put on or wear formal, elaborate, or fancy clothes.

Based on "Wooden on Leadership" by John Wooden (ebook)

## 100 - Introduction

See [README.md](./100/README.md)

## 200 - Requirements

See [README.md](./200/README.md)

## 300 - Conducting Our Activity

See [README.md](./300/README.md)

## 400 - Conclusion

See [README.md](./400/README.md)
npm package: @ouractivities/face-treatment
Description: [![Node.js CI](https://github.com/OurActivities/face-treatment/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/face-treatment/actions/workflows/publish.yml)
Author: Willem van Heemstra
Latest version: 1.0.0

[![Node.js CI](https://github.com/OurActivities/face-treatment/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/face-treatment/actions/workflows/publish.yml)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

face-treatment
# Face Treatment
npm package: @ouractivities/iron
Description: [![Node.js CI](https://github.com/OurActivities/iron/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/iron/actions/workflows/publish.yml)
Author: Willem van Heemstra
Latest version: 1.1.0

[![Node.js CI](https://github.com/OurActivities/iron/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/iron/actions/workflows/publish.yml)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

iron
# Iron
npm package: @ouractivities/lunch
Description: [![Node.js CI](https://github.com/OurActivities/lunch/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/lunch/actions/workflows/publish.yml)
Author: Willem van Heemstra
Latest version: 1.0.0

[![Node.js CI](https://github.com/OurActivities/lunch/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/lunch/actions/workflows/publish.yml)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

lunch
# Lunch
npm package: @ouractivities/shower
Description: [![Node.js CI](https://github.com/OurActivities/shower/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/shower/actions/workflows/publish.yml)
Author: Willem van Heemstra
Latest version: 1.0.0

[![Node.js CI](https://github.com/OurActivities/shower/actions/workflows/publish.yml/badge.svg)](https://github.com/OurActivities/shower/actions/workflows/publish.yml)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

shower
# Shower
npm package: @ourcanopy/sapper
Description: The next small thing in web development, powered by Svelte
Author: Rich Harris
Latest version: 0.28.0

# sapper

[The next small thing in web development, powered by Svelte.](https://sapper.svelte.dev)


## What is Sapper?

Sapper is a framework for building high-performance universal web apps. [Read the guide](https://sapper.svelte.dev/docs) or the [introductory blog post](https://svelte.dev/blog/sapper-towards-the-ideal-web-app-framework) to learn more.


## Get started

Clone the [starter project template](https://github.com/sveltejs/sapper-template) with [degit](https://github.com/rich-harris/degit)...
When cloning you have to choose between rollup or webpack:

```bash
npx degit "sveltejs/sapper-template#rollup" my-app
# or: npx degit "sveltejs/sapper-template#webpack" my-app
```

...then install dependencies and start the dev server...

```bash
cd my-app
npm install
npm run dev
```

...and navigate to [localhost:3000](http://localhost:3000). To build and run in production mode:

```bash
npm run build
npm start
```

## Development

Pull requests are encouraged and always welcome. [Pick an issue](https://github.com/sveltejs/sapper/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) and help us out!

To install and work on Sapper locally:

```bash
git clone https://github.com/sveltejs/sapper.git
cd sapper
npm install
npm run dev
```

### Linking to a Live Project

You can make changes locally to Sapper and test it against a local Sapper project. For a quick project that takes almost no setup, use the default [sapper-template](https://github.com/sveltejs/sapper-template) project. Instruction on setup are found in that project repository.

To link Sapper to your project, from the root of your local Sapper git checkout:

```bash
cd sapper
npm link
```

Then, to link from `sapper-template` (or any other given project):

```bash
cd sapper-template
npm link sapper
```

You should be good to test changes locally.

### Running Tests

```bash
npm run test
```

## License

[MIT](LICENSE)
npm package: @ourcodecli/copy
Description: A CLI tool to copy files and directories
Author: Jacob Samuel G.
Latest version: 1.1.1

# Our code CLI - Copy
- A CLI tool to copy files and directories
- Install with `npm i -D @ourcodecli/copy`

## Usage

```bash
# Copy a file or directory
our-copy <source> <destination>

# Overwrite destination if it exists
our-copy <source> <destination> --force
our-copy <source> <destination> -f

# Preserve symbolic links instead of dereferencing them
our-copy <source> <destination> --preserve-symlinks
our-copy <source> <destination> -p

# Rename the copied entry at destination
our-copy <source> <destination> --rename <newName>
our-copy <source> <destination> -r <newName>

# Simular sin escribir cambios
our-copy <source> <destination> --dry-run
our-copy <source> <destination> -n

# Show help and version
our-copy --help
our-copy --version
```
npm package: @ourcodecli/delete
Description: A CLI tool to delete files and directories
Author: Jacob Samuel G.
Latest version: 1.1.1

# Our code CLI - Delete
- A CLI tool to delete files and directories
- Install with `npm i -D @ourcodecli/delete`

## Usage

```bash
# Delete one or more paths
our-delete <path1> [path2] ...

# Force deletion without confirmation
our-delete <path> --force

# Exit on first error (stop processing further paths)
our-delete <path> --strict

# Show help or version
our-delete --help
our-delete --version
```

Options:

- -f, --force     Force deletion without confirmation
- -s, --strict    Exit on first error (stop processing further paths)
- -h, --help      Show help message
- -v, --version   Print version
npm package: @ourcodecli/icon-generator
Description: A CLI tool to generate icons
Author: Jacob Samuel G.
Latest version: 1.0.1

# @ourcodecli/icon-generator

Generate PWA icon PNGs at common sizes from a single source image.

## Usage

```
our-icon-gen <source> <destination> <name> [options]
```

- source: Path to source image (e.g. a large square PNG or SVG)
- destination: Output directory where icons will be written
- name: Base name for generated files (e.g. `app` -> `app-192x192.png`)

### Options

- `-s, --sizes <list>` Comma-separated list of sizes to generate (default: 72,96,128,144,152,192,384,512)
- `-n, --dry-run` Show what would be generated without writing files
- `-h, --help` Show help
- `-v, --version` Show version

### Examples

```
our-icon-gen ./logo.png ./public/icons app
our-icon-gen ./logo.png ./icons app --sizes 72,96,128 -n
```

## Notes

- The tool uses `sharp` for image processing.
- Source images should be large enough to downscale cleanly to the target sizes.
npm package: @ourcodecli/symlink
Description: A CLI tool to create symbolic links
Author: Jacob Samuel G.
Latest version: 1.1.2

# Our code CLI - Symlink
- A CLI tool to create symbolic links to files or directories
- Install with `npm i -D @ourcodecli/symlink`

## Usage

```bash
# Create symlink(s) in one or more target directories
our-symlink <sourcePath> <targetPath>,<targetPath>,...

# Rename the symlink in destinations
our-symlink <sourcePath> <targetPath>,<targetPath> --name <name>
our-symlink <sourcePath> <targetPath>,<targetPath> -n <name>

# Replace destination entry if it exists
our-symlink <sourcePath> <targetPath>,<targetPath> --force
our-symlink <sourcePath> <targetPath>,<targetPath> -f

# Load operations from config JSON
our-symlink --config <pathToConfig>
our-symlink -c <pathToConfig>

# Show help and version
our-symlink --help
our-symlink --version
```

## Config format (`--config`)

Config file must match `OurSymlinkConfig`:

```ts
export interface SymlinkConfig {
  force?: boolean;
  sourcePath: string;
  targetName?: string;
  targetDir: string[];
}

export interface OurSymlinkConfig {
  $schema?: string;
  symlinks: SymlinkConfig[];
}
```

Example:

```json
{
  "symlinks": [
    {
      "force": true,
      "sourcePath": "./packages/shared/src",
      "targetName": "shared-lib",
      "targetDir": ["./apps/web", "./apps/admin"]
    },
    {
      "sourcePath": "./packages/theme/tokens.json",
      "targetDir": ["./apps/web", "./apps/mobile"]
    },
    {
      "force": false,
      "sourcePath": "./packages/utils/src",
      "targetName": "utils",
      "targetDir": ["./apps/web", "./apps/mobile"]
    }
  ]
}
```

JSON Schema available at:
- `config.schema.json` (portable JSON Schema file)
- `src/config-schema.ts` (`SYMLINK_CONFIG_SCHEMA`, used by config validation in `src/symlink.ts`)

## Notes

- Relative and absolute paths are supported. All paths are normalized from current working directory.
- `sourcePath` can be a file or directory.
- `targetPath` values are treated as destination directories. Missing directories are created.
- `force` is optional in config and defaults to `false`.
- `targetName` is optional in config and defaults to the source basename.
- Execution continues across multiple targets and reports a final success/failure summary.
- When using `--config`, do not pass `--name` or `--force` in command line (those values come from each config entry).
- On Windows, directory links use `junction` for compatibility.
npm package: @ourcodeng/fire
Description: Angular services and utilities to work with Firebase
Author: Jacob Samuel G.
Latest version: 3.0.1

# Fire 🔥

- Angular services and utilities to work with Firebase
- Install with `npm i @ourcodeng/fire`

## Quick Start

```ts
firebaseService.init(firebaseOptions, enableEmulators, emulatorConfig);
await fireAuthService.init();
firestoreService.init(['(default)']);
fireStorageService.init();
```

Use `enableEmulators` as the boolean switch and `emulatorConfig` only for host/port values.
npm package: @ourcoring/lock-ui
Description: A React UI components library
Author: Maykel Bustos
Latest version: 1.0.1

# @ourcoring/lock-ui

`@ourcoring/lock-ui` is a simple React component library to help you build beautiful and reusable UI elements like buttons, cards, and more. This library is designed to be easy to use and extend.

## Features

- Reusable UI components
- Easy to customize and extend
- Built with React and TailwindCSS

## Installation

You can install `@ourcoring/lock-ui` via npm, yarn, pnpm or bun:

```bash
npm install @ourcoring/lock-ui
```
npm package: @ourfor/plugin-editor
Description: A markdown editor written in TypeScript
Author: Ourfor
Latest version: 1.0.16

* [Vditor - 浏览器端的 Markdown 编辑器](https://hacpai.com/article/1549638745630)
* [在线试用](https://hacpai.com/guide/markdown)

欢迎关注 B3log 开源社区微信公众号 `B3log开源`

![image-d3c00d78](https://user-images.githubusercontent.com/873584/71566370-0d312c00-2af2-11ea-8ea1-0d45d6f0db20.png)

使用截图

![demo](https://user-images.githubusercontent.com/970828/71512966-666f4480-28d3-11ea-944e-26340f52cd30.png)


渲染截图

![render](https://user-images.githubusercontent.com/970828/64341072-30ebd600-d01a-11e9-8e8a-b30c24364b58.png)
npm package: @ourfor/plugin-qrcode
Description: the qrcode generate for js
Author: ourfor
Latest version: 1.0.6

# QRCode.js
QRCode.js is javascript library for making QRCode. QRCode.js supports Cross-browser with HTML5 Canvas and table tag in DOM.
QRCode.js has no dependencies.

## Basic Usages
```
<div id="qrcode"></div>
<script type="text/javascript">
new QRCode(document.getElementById("qrcode"), "http://jindo.dev.naver.com/collie");
</script>
```

or with some options

```
<div id="qrcode"></div>
<script type="text/javascript">
var qrcode = new QRCode(document.getElementById("qrcode"), {
	text: "http://jindo.dev.naver.com/collie",
	width: 128,
	height: 128,
	colorDark : "#000000",
	colorLight : "#ffffff",
	correctLevel : QRCode.CorrectLevel.H
});
</script>
```

and you can use some methods

```
qrcode.clear(); // clear the code.
qrcode.makeCode("http://naver.com"); // make another code.
```

specially, if you only want to get raw svg, you can use 

```
const qrcode = new QRCode(null,{
	width: 100,
	height: 100,
	useSvg: true
});
const svg = qrcode.makeCode("https://blog.ourfor.top);
```

## Browser Compatibility
IE6~10, Chrome, Firefox, Safari, Opera, Mobile Safari, Android, Windows Mobile, ETC.

## License
MIT License

## Contact
twitter @davidshimjs

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/davidshimjs/qrcodejs/trend.png)](https://bitdeli.com/free "Bitdeli Badge")