open-index/open-npm huggingface dataset:
npm package: @labymod/skinview-utils
Description: Utilities for working with Minecraft skins
Author: Haowei Wen
Latest version: 0.6.2

skinview-utils
========

[![CI Status](https://img.shields.io/github/workflow/status/james090500/skinview-utils/CI?label=CI&logo=github&style=flat-square)](https://github.com/james090500/skinview-utils/actions?query=workflow:CI)
[![NPM Package](https://img.shields.io/npm/v/@james090500/skinview-utils.svg?style=flat-square)](https://www.npmjs.com/package/@james090500/skinview-utils)
[![MIT License](https://img.shields.io/badge/license-MIT-yellowgreen.svg?style=flat-square)](https://github.com/bs-community/skinview-utils/blob/master/LICENSE)
[![Gitter Chat](https://img.shields.io/gitter/room/TechnologyAdvice/Stardust.svg?style=flat-square)](https://gitter.im/skinview3d/Lobby)

Utilities for working with Minecraft skins
npm package: @labymod/skinview3d
Description: Three.js powered Minecraft skin viewer
Author: Haowei Wen
Latest version: 2.0.2

skinview3d
========

[![CI Status](https://img.shields.io/github/workflow/status/james090500/skinview3d/CI?label=CI&logo=github&style=flat-square)](https://github.com/james090500/skinview3d/actions?query=workflow:CI)
[![NPM Package](https://img.shields.io/npm/v/@james090500/skinview3d.svg?style=flat-square)](https://www.npmjs.com/package/@james090500/skinview3d)
[![MIT License](https://img.shields.io/badge/license-MIT-yellowgreen.svg?style=flat-square)](https://github.com/bs-community/skinview3d/blob/master/LICENSE)
[![Gitter Chat](https://img.shields.io/gitter/room/TechnologyAdvice/Stardust.svg?style=flat-square)](https://gitter.im/skinview3d/Lobby)

Three.js powered Minecraft skin viewer.

# Features
* 1.8 Skins
* HD Skins
* Capes
* Elytras
* Slim Arms
  * Automatic model detection (Slim / Default)

# Usage
[Example of using skinview3d](https://bs-community.github.io/skinview3d/)
```html
<canvas id="skin_container"></canvas>
<script>
	let skinViewer = new skinview3d.SkinViewer({
		canvas: document.getElementById("skin_container"),
		width: 300,
		height: 400,
		skin: "img/skin.png"
	});

	// Change viewer size
	skinViewer.width = 600;
	skinViewer.height = 800;

	// Load another skin
	skinViewer.loadSkin("img/skin2.png");

	// Load a cape
	skinViewer.loadCape("img/cape.png");

	// Load a elytra (from a cape texture)
	skinViewer.loadCape("img/cape.png", { backEquipment: "elytra" });

	// Unload(hide) the cape / elytra
	skinViewer.loadCape(null);

	// Control objects with your mouse!
	let control = skinview3d.createOrbitControls(skinViewer);
	control.enableRotate = true;
	control.enableZoom = false;
	control.enablePan = false;

	// Add an animation
	let walk = skinViewer.animations.add(skinview3d.WalkingAnimation);
	// Add another animation
	let rotate = skinViewer.animations.add(skinview3d.RotatingAnimation);
	// Remove an animation, stop walking dude
	walk.remove();
	// Remove the rotating animation, and make the player face forward
	rotate.resetAndRemove();
	// And run for now!
	let run = skinViewer.animations.add(skinview3d.RunningAnimation);

	// Set the speed of an animation
	run.speed = 3;
	// Pause single animation
	run.paused = true;
	// Pause all animations!
	skinViewer.animations.paused = true;
</script>
```

## Anti-aliasing
skinview3d supports FXAA (fast approximate anti-aliasing).
To enable it, you need to replace `SkinViewer` with `FXAASkinViewer`.

It's recommended to use an opaque background when FXAA is enabled,
as transparent background may look buggy.

```javascript
let skinViewer = new skinview3d.FXAASkinViewer({
	// we do not use transparent background, so disable alpha to improve performance
	alpha: false,
	...
});
// set the background color
skinViewer.renderer.setClearColor(0x5a76f3);
```

# Build
`npm run build`
npm package: @labyrinthos/asuid
Description: Similar idea to the ksuid, but uses a larger timestamp for millisecond resolution. Copy-paste friendly, 35 chars long, and lexicographical sorting of the ids will sort them by time, but if multiple asuids are generated in the same millisecond (or using th
Author: Axel
Latest version: 0.2.0

# Almost Sortable Unique IDs
Similar idea to the ksuid, but uses a larger timestamp for millisecond
resolution. Copy-paste friendly, 35 chars long, and lexicographical sorting of
the ids will sort them by time, but if multiple asuids are generated in the
same millisecond (or using the same timestamp) then the random bytes will
prevent ordering them in perfect generated order (hence, almost sortable).

## Format
```
| 56 bit timestamp | 120 bit id |
```
The 56 bit timestamp allows for values in the range
[-8640000000000000, 8640000000000000] with millisecond precision. This allows
any valid JS date to become a valid asuid, including dates in the past (for
assigning ids to older records).

## Installation
```bash
pnpm add @labyrinthos/asuid
```

## Usage
```js
import asuid from "@labyrinthos/asuid"

//  generate fully random asuid
asuid()

//  generate random id for a timestamp (or date)
asuid(timeStamp)
asuid(new Date(timeStamp))
asuid(BigInt(timeStamp))

//  generate asuid for current time with set id bytes
asuid(null, uint8Array)
asuid(null, idString)

//  regenerate id from parts
asuid(timeStamp, uint8Array)
asuid(timeStamp, idString)
```

## Parsing
```js
import asuid from "@labyrinthos/asuid"

const parsed = asuid.parse(id)
{
    // timestamp for the asuid
    time
    // date object from the timestamp
    date
    // the id string (last 15 bytes/24 characters)
    id
    // the asuid that was parsed
    source
}
```
npm package: @labyrinthos/http
Description: Simple library for doing http requests in node and the browser.
Latest version: 0.1.1

# Labyrinthos HTTP

Simple library for doing http requests in node and the browser.

## Installation

### Script Tag
```html
<script src="https://cdn.jsdelivr.net/npm/@labyrinthos/http/lib/browser.mjs"></script>
```

### Node
```javascript
import http from "@labyrinthos/http/node"
```
### Bundled for browser
```javascript
import http from "@labyrinthos/http"
```

## Browser API

```javascript
http`<method>`(url)
http`<method>`(options)

http.use(useOptions)
```
### Options
`method` is the HTTP method to use (`get`, `post`, etc.).
`url` is the relative url to fetch.
`options` is an object of options (including the url)
- `url` same as the url argument
- `data` data to send in its raw form (ex: an object for json or form-encoded)
- `dataType` the type of data being sent, default is `"json"`. some types
    have a built in converter documented below.
- `headers` any headers to include with the request. `Content-Type` will be set
    automatically if the `dataType` has a built in converter.
- `query` an object with any parameters to send in the query string.
- `credentials` fetch [credentials](https://developer.mozilla.org/en-US/docs/Web/API/fetch#parameters) option.
- `type` response type to parse as. See the fetch
    [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response)
    Instance methods for details.

### use & useOptions
The `use` function returns a new http instance that can be used in the same way
as the base http export, but with the configuration given.

`useOptions` can set a default value for any option in addition to having its
own props to setup other parts of the request.
- `baseURL` the base URL to use for all requests. Can be either an absolute URL
    as a string, or a
    [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) object.


### Examples
```javascript
//  urls for the base export are relative to the current page
await http`get`({
    url: "/browser.mjs",
    type: "text"
})

const echo = http.use({ baseURL: "https://echo.axel669.net" })
await echo`get`({
    url: "/",
    query: {
        a: 10,
        b: 12
    }
})
```

## Node API

```javascript
const local = http({ baseURL: "http://localhost:45067" })
local`<method>`(options)
```

The node API is nerly identical to the browser API with 2 differences:
1. All instances need to be initialized using the same call signature as
    `http.use` (there is no location object to be the default).
2. The options accepts an `agent` property that is a node
    [http agent](https://nodejs.org/api/http.html#class-httpagent)


### Examples
```javascript
const local = http({ baseURL: "http://localhost:45067" })
const response = await local`get`({
    url: "/browser.mjs",
    type: "text",
})

const echo = http({ baseURL: "https://postman-echo.com/get" })
const echoRes = await echo`get`({
    url: "/",
    query: { a: 10 }
})
```
npm package: @labzh/cal-heatmap
Description: Cal-Heatmap is a javascript module to create calendar heatmap to visualize time series data
Author: Wan Qi Chen
Latest version: 4.3.2

[![Cal-Heatmap logo](https://cal-heatmap.com/img/favicon.png)](https://cal-heatmap.com/img/favicon.png)

# Cal-HeatMap [![Coverage Status](https://coveralls.io/repos/wa0x6e/cal-heatmap/badge.svg?branch=master&service=github)](https://coveralls.io/github/wa0x6e/cal-heatmap?branch=master) [![npm version](https://badge.fury.io/js/cal-heatmap.svg)](https://badge.fury.io/js/cal-heatmap) [![node](https://github.com/wa0x6e/cal-heatmap/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/wa0x6e/cal-heatmap/actions/workflows/test.yml) [![node](https://github.com/wa0x6e/cal-heatmap/actions/workflows/lint.yml/badge.svg?branch=master)](https://github.com/wa0x6e/cal-heatmap/actions/workflows/lint.yml)

> Cal-Heatmap is a javascript charting library to create a time-series calendar heatmap

This library will help you to chart a calendar heatmap, like the _[Github contribution calendar](https://github.com/blog/1360-introducing-contributions)_ appearing on each github user's page, but with more features like:

- 🔀 animated date navigation
- ⏳ time interval customisation
- 🗓️ full controls on the layout/UI
- 🌐 locale and timezone support
- ⚡ plugins system
- 🖥️ broad browsers support
- 🔚 right-to-left support
- ♾️ and many more...

![Github like Calendar Heatmap example](https://cal-heatmap.com/examples/1.png)
![Year/Day linear scale with legend Calendar Heatmap example](https://cal-heatmap.com/examples/2.png)
![Year/Day threshold scale with legend Calendar Heatmap example](https://cal-heatmap.com/examples/3.png)
![Month/Day alternate layout Calendar Heatmap example](https://cal-heatmap.com/examples/4.png)
![Month/Day weekdays only Calendar Heatmap example](https://cal-heatmap.com/examples/5.png)

See [documentation website](http://cal-heatmap.com) for full documentation and more examples.

## License

Cal-Heatmap is licensed under a [MIT License](./LICENSE).
npm package: @lace/http
Description: Reactive HTTP microservices
Author: Tyrone Tudehope
Latest version: 0.2.0

_**lace-http** — Reactive HTTP microservices_

## Install

```
npm i lace-http
```

## Usage

```
module.exports = request$ => {
  return request$
    .pipe(
      mapTo('Hello world!'),
    )
}
```

```
module.exports = () => 'Hello world!'
```
npm package: @lacedon/route-map
Description: NPM package for create a map of routes for easer support and refactoring
Author: Viktor Kukharev
Latest version: 0.0.7

# route-map

NPM package for create a map of routes for easer support and refactoring

## Installation

TBD.

## Description

TBD.

## Examples

### Base usage

```typescript
/* @/routes.ts */
import createRoute from 'route-map';

const routes = {
  menu: createRoute('/menu'), // a static route without any variables
  category: createRoute<{ categoryId: string }>('/menu/{categoryId}'), // a route with variable
  item: createRoute<{ categoryId: string; itemId: number }>(
    '/menu/{categoryId}/{itemId}',
  ),
  cart: createRoute<{ back: string }>('/cart?back={back}', { back: '/' }), // second variable -- default variables
  randomPage: createRoute(() => getRandom(Object.keys(routes))), // a route with some specific logic
};

export default routes;

/* @/category.tsx */
import routes from '@/routes.ts';
...
const homeLink = route.index();
...
items.map((item: { id: number }) => routes.item({ categoryId: 'tv', itemId: item.id }));
...
```