open-index/open-npm huggingface dataset:
npm package: @s4tk/compression
Description: Functionality and models related to the compression of resources.
Author: frankkulak
Latest version: 0.2.0

# Sims 4 Toolkit - Compression (@s4tk/compression)

## Overview

This package contains the code necessary for compressing and decompressing buffers for resources that appear within a package file.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/compression
```

## Disclaimers

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Visit [sims4toolkit.com/#/docs/compression](https://sims4toolkit.com/#/docs/compression) for the most up-to-date documentation.
npm package: @s4tk/encoding
Description: Utility classes for reading and writing binary files.
Author: frankkulak
Latest version: 0.1.4

# Sims 4 Toolkit - Encoding (@s4tk/encoding)

## Overview

This package contains utility classes to aid with the reading and writing of binary data in buffers.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/encoding
```

## Disclaimers

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Visit [sims4toolkit.com/#/docs/encoding](https://sims4toolkit.com/#/docs/encoding) for the most up-to-date documentation.
npm package: @s4tk/extraction
Description: Models and functions for indexing and extracting files from the game.
Author: frankkulak
Latest version: 0.3.2

# Sims 4 Toolkit - Extraction (@s4tk/extraction)

## Overview

This project contains models and functions required to index and extract files from the game.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/extraction
```

## Disclaimers

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Visit [sims4toolkit.com/#/docs/extraction](https://sims4toolkit.com/#/docs/extraction) for the most up-to-date documentation.
npm package: @s4tk/hashing
Description: Utility functions for hashing strings and formatting hashes.
Author: frankkulak
Latest version: 0.2.1

# Sims 4 Toolkit - Hashing (@s4tk/hashing)

## Overview

This project contains utility functions for hashing strings (using the same algorithm as The Sims 4) and formatting those hashes for use in tuning, SimData, or elsewhere.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/hashing
```

## Disclaimers

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Visit [sims4toolkit.com/#/docs/hashing](https://sims4toolkit.com/#/docs/hashing) for the most up-to-date documentation.
npm package: @s4tk/images
Description: Models and algorithms for processing image resources.
Author: frankkulak
Latest version: 0.2.4

# Sims 4 Toolkit - Images (@s4tk/images)

## Overview

This project contains models and algorithms required for processing images that appear in various image resources.

Major credit goes towards the creators of [S4PI](https://github.com/s4ptacle/Sims4Tools), specifically those who contributed to the [DstResource](https://github.com/s4ptacle/Sims4Tools/blob/develop/s4pi%20Wrappers/ImageResource/DSTResource.cs). Without this implementation, I wouldn't have been able to figure out shuffling/unshuffling for the DST compression algorithm.

## ⚠️ Experimental ⚠️

While all S4TK software is in pre-release, this package is especially experimental. I cannot guarantee that conversions between image formats is going to go smoothly. For best results, use PNG for both importing and exporting DDS images. JPG/BMP do not support transparency, and GIF/TIFF may appear discolored when exported.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/images
```

## Disclaimers

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Visit [sims4toolkit.com/#/docs/images](https://sims4toolkit.com/#/docs/images) for the most up-to-date documentation.
npm package: @s4tk/models
Description: Models for reading and writing package files and the resources they contain.
Author: frankkulak
Latest version: 0.6.14

# Sims 4 Toolkit - Models (@s4tk/models)

## Overview

This project contains the models, enums, and other structures required for reading and writing Sims 4 package files and the resources they contain.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/models
```

## Plugins

To use plugins, first import `registerPlugin` from `@s4tk/models/plugins`, then follow the directions in the README of the specific plugin you would like to use.

## Disclaimers

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Visit [sims4toolkit.com/#/docs/models](https://sims4toolkit.com/#/docs/models) for the most up-to-date documentation.
npm package: @s4tk/plugin-bufferfromfile
Description: S4TK plugin to use BufferFromFile.
Author: frankkulak
Latest version: 0.1.1

# Sims 4 Toolkit - BufferFromFile Plugin

## Overview

This is a wrapper for [BufferFromFile](https://www.npmjs.com/package/bufferfromfile), so that it can optionally be included in [@s4tk/models](https://sims4toolkit.com/#/docs/models).

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/plugin-bufferfromfile
```

## Usage

To use this plugin, include the following at the beginning of your S4TK script. This only needed to be run once, but running it more than once will not cause any problems.

```js
// ESM / TS
import { registerPlugin } from "@s4tk/models/plugins";
import BufferFromFile from "@s4tk/plugin-bufferfromfile";
registerPlugin(BufferFromFile);

// CJS
const { registerPlugin } = require("@s4tk/models/plugins");
const BufferFromFile = require("@s4tk/plugin-bufferfromfile");
registerPlugin(BufferFromFile);
```

## Disclaimers

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.
npm package: @s4tk/tunables
Description: Convenience functions for building tuning nodes.
Author: frankkulak
Latest version: 0.2.0

# Sims 4 Toolkit - Tunables (@s4tk/tunables)

## Overview

This project contains utility functions for creating tunable nodes.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/tunables
```

## Disclaimers

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Visit [sims4toolkit.com/#/docs/tunables](https://sims4toolkit.com/#/docs/tunables) for the most up-to-date documentation.
npm package: @s4tk/validation
Description: Utilities for validating packages and resources.
Author: frankkulak
Latest version: 0.1.2

# Sims 4 Toolkit - Validation (@s4tk/validation)

## Overview

Utilities for validating packages and resources.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/validation
```

## Disclaimer

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Documentation is not available, as the S4TK docs website is being redesigned.

For now, here is the most useful information:

## Import the validation functions

```ts
// use below for ESM / TS
import { validatePackageBuffer, validateResources } from "@s4tk/validation";

// use below for CJS
const { validatePackageBuffer, validateResources } = require("@s4tk/validation");
```

## Using the validation functions

```ts
// to validate a package file without first parsing it
const result = validatePackageBuffer(buffer); // buffer = Buffer for a .package file

// to validate the entries in an already-parsed package
const result = validateResources(pkg.entries); // pkg = Package from @s4tk/models

// to validate individual resources / entries
const result = validateResources(entries); // entries = ResourceKeyPair[] from @s4tk/models
```

## Using the validation result

The `result` in all the above lines is a `readonly ValidatedResource[]` object. You can read more about the `ValidatedResource` type and its associated interfaces in [lib/types/resources.ts](https://github.com/sims4toolkit/validation/blob/main/src/lib/types/resources.ts).
npm package: @s4tk/xml-dom
Description: An XML DOM tailored for use with Sims 4 tuning files.
Author: frankkulak
Latest version: 0.2.6

# Sims 4 Toolkit - XML DOM (@s4tk/xml-dom)

## Overview

This package contains an XML DOM that is tailored for use with Sims 4 tuning files. This XML DOM is general enough to be reused for non-tuning resources, such as ASMs or XML-represented SimData, but is not general enough for uses outside of The Sims 4 modding.

## Installation

Install the package as a dependency from npm with the following command:

```sh
npm i @s4tk/xml-dom
```

## Disclaimer

Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.

All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.

## Documentation

Visit [the webpage](https://sims4toolkit.com/#/docs/xml-dom) for documentation.
npm package: @s524797336/codemirror
Description: Full-featured in-browser code editor
Latest version: 1.0.0-beta.0

# CodeMirror

[![Build Status](https://travis-ci.org/codemirror/CodeMirror.svg)](https://travis-ci.org/codemirror/CodeMirror)
[![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror)
[![Join the chat at https://gitter.im/codemirror/CodeMirror](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/codemirror/CodeMirror)  
[Funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png?again)](https://marijnhaverbeke.nl/fund/)

CodeMirror is a versatile text editor implemented in JavaScript for
the browser. It is specialized for editing code, and comes with over
100 language modes and various addons that implement more advanced
editing functionality. Every language comes with fully-featured code
and syntax highlighting to help with reading and editing complex code.

A rich programming API and a CSS theming system are available for
customizing CodeMirror to fit your application, and extending it with
new functionality.

You can find more information (and the
[manual](https://codemirror.net/doc/manual.html)) on the [project
page](https://codemirror.net). For questions and discussion, use the
[discussion forum](https://discuss.codemirror.net/).

See
[CONTRIBUTING.md](https://github.com/codemirror/CodeMirror/blob/master/CONTRIBUTING.md)
for contributing guidelines.

The CodeMirror community aims to be welcoming to everybody. We use the
[Contributor Covenant
(1.1)](http://contributor-covenant.org/version/1/1/0/) as our code of
conduct.

### Installation

Either get the [zip file](https://codemirror.net/codemirror.zip) with
the latest version, or make sure you have [Node](https://nodejs.org/)
installed and run:

    npm install codemirror

**NOTE**: This is the source repository for the library, and not the
distribution channel. Cloning it is not the recommended way to install
the library, and will in fact not work unless you also run the build
step.

### Quickstart

To build the project, make sure you have Node.js installed (at least version 6)
and then `npm install`. To run, just open `index.html` in your
browser (you don't need to run a webserver). Run the tests with `npm test`.
npm package: @s524797336/microduino-form-design
Description: microduino form design for react
Author: wangjianpeng@microduino.cc
Latest version: 1.2.6
Deprecated: unpublish

#microduino 前端组件库 持续整理中~

##现有组件列表
```js
export {
    Formsy,
    Form,
    FormItem,
    Input,
    TextArea,
    Button,
    Image,
    Radio,
    Checkbox,
    Select,
    Search,
    FileUpload,
    TextBtn,
    Tags,
    TagsClosed,
    Tabs,
    InputTags,
    UserAvatar,
    Modal,
    MarkStar
}
```
npm package: @s524797336/nestjs-modules-mailer
Description: NestJS - a mailer module (@mailer)
Author: Nest Modules TM
Latest version: 1.4.2

<p align="center">
  <a href="http://nestjs.com/" target="blank">
    <img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" />
  </a>
</p>

<p align="center">
  A mailer module for Nest framework (node.js) using <a href="https://nodemailer.com/">Nodemailer</a> library
</p>

<p align="center">
  <a href="https://www.npmjs.com/org/nestjs-modules"><img src="https://img.shields.io/npm/v/@nestjs-modules/mailer.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/org/nestjs-modules"><img src="https://img.shields.io/npm/l/@nestjs-modules/mailer.svg" alt="Package License" /></a>
  <a href="https://www.npmjs.com/org/nestjs-modules"><img src="https://img.shields.io/npm/dm/@nestjs-modules/mailer.svg" alt="NPM Downloads" /></a>
</p>

### Installation

```sh
npm install --save @nestjs-modules/mailer nodemailer
#or
yarn add @nestjs-modules/mailer nodemailer
```

**Hint:** handlebars and pug is an optional dependency, if you want to use the template, you must install it.

#### with npm
```sh
npm install --save handlebars
#or
npm install --save pug
#or
npm install --save ejs
```

#### with yarn
```sh
yarn add handlebars
#or
yarn add pug
#or
yarn add ejs
```

### Documentation

you can find all the documentation [here](https://nest-modules.github.io/mailer/) for the email module

### Starter kit

- [Sending email-template with outlook](https://github.com/yanarp/nestjs-mailer) - Starter kit, nestjs mailer implementation on outlook smtp with email-template

### Contributing

* [Cristiam Diaz](https://github.com/cdiaz)
* [Eduardo Leal](https://github.com/eduardoleal)
* [Juan Echeverry](https://github.com/juandav)
* [Pat McGowan](https://github.com/p-mcgowan)
* [Paweł Partyka](https://github.com/partyka95)

### License

MIT
npm package: @s524797336/node-addon-loader
Description: A loader of node native addons
Author: Aurélien Noce
Latest version: 1.0.0

A simple loader to embed native addons in [node] or [electron] projects.

This package is a mix between:

- [node-loader] that loads a node module from an _absolute path_
- [file-loader] that loads copy a file into the bundle and return its path

This one package allows to load a node native addon, binary file will end up copied into the output directory and loaded dynamically from its _relative_ path.

## Install

Add the package to your `package.json`

```bash
$ yarn add --dev node-addon-loader
```

## Usage

Add the loader to your `webpack.config.js` for all `.node` native files.

**webpack.config.js**
```js
module.exports = {
  module: {
    rules: [
      {
        test: /\.node$/,
        use: 'node-addon-loader',
        options: [
          basePath: resolve(__dirname),
        ]
      }
    ]
  }
}
```

Note the `basePath` option: it will instruct the loader of the "base" path, from where the [node] runtime will be started. It will generate loading path relative to this URL.
For example is you develop an [electron] app with a bundle emitted into `dist/` directory, you want all the required paths (emitted `require` statements) to be relative to the current directory of the [electron] runtime (they all will be like `dist/xxxx.node`).

**In your application**

You require the file directly

```js
import node from 'relative/path/to/myLib.node';
// or
const node = require("relative/path/to/myLib.node");
```

or with the inline syntax:

**Inline**
```js
import node from 'node-addon-loader!./myLib.node';
```

**with an alias**

a good option is to keep your modules in some place and create aliases for them, such as:

```js
// webpack config
module.exports = {

  resolve: {
    alias: {
    "myLib": "/path/to/myLib.node",
    }
  },

  // ...

}
```

and then use your alias directly:

```js
import myLib from "myLib";
```

## Thanks

big thanks go the the authors of [node-loader] and [file-loader] which I eagerly copied.

## TODO

Fix the issue with `emitFile`, see **TODO** in code.

All contributions are welcome, this is MIT do-whatever-you-want-I-dont-care code.

[node]: https://nodejs.org
[electron]: https://electron.atom.io/
[node-loader]: https://github.com/webpack-contrib/node-loader/blob/master/index.js
[file-loader]: https://github.com/webpack-contrib/file-loader
npm package: @s524797336/node-bindings-loader
Description: Package to resolve the [node-bindings](https://github.com/TooTallNate/node-bindings) pattern with the compiled bindings at compile time.
Author: Alessio Paccoia
Latest version: 1.0.0

# Node-bindings-loader module
Package to resolve the [node-bindings](https://github.com/TooTallNate/node-bindings) pattern with the compiled bindings at compile time.

To be used in combo with loaders like [native-ext-loader](https://github.com/smt116/node-native-ext-loader)

## Installation
```sh
npm install --save-dev node-bindings-loader
```

## Usage
Update rules entry in the Webpack configuration file:
```javascript
module: {
    rules: [{
        test: /\.js$/,
        loader: "node-bindings-loader"
    }];
}
```

## License
[MIT](https://github.com/alessiopcc/ps-watchdog/blob/master/LICENSE)

## Author
Alessio Paccoia <<alessio.paccoia@cubbit.io>>
npm package: @s524797336/parse5
Description: HTML parser and serializer.
Author: Ivan Nikulin
Latest version: 1.0.2

<p align="center">
    <a href="https://github.com/inikulin/parse5">
        <img src="https://raw.github.com/inikulin/parse5/master/media/logo.png" alt="parse5" />
    </a>
</p>

<div align="center">
<h1>parse5</h1>
<i><b>HTML parser and serializer.</b></i>
</div>
<br>

<div align="center">
<code>npm install --save parse5</code>
</div>
<br>

<p align="center">
  📖 <a href="https://github.com/inikulin/parse5/tree/master/packages/parse5/docs/index.md"><b>Documentation</b></a> 📖
</p>

---

<p align="center">
  <a href="https://github.com/inikulin/parse5/tree/master/docs/list-of-packages.md">List of parse5 toolset packages</a>
</p>

<p align="center">
    <a href="https://github.com/inikulin/parse5">GitHub</a>
</p>

<p align="center">
  <a href="http://astexplorer.net/#/1CHlCXc4n4">Online playground</a>
</p>

<p align="center">
    <a href="https://github.com/inikulin/parse5/tree/master/docs/version-history.md">Version history</a>
</p>
npm package: @s524797336/react-teachable-machine
Description: ## Usage
Author: 刘佳闻
Latest version: 1.0.1

# react-teachable-machine

## Usage

```
npm install --save @s524797336/react-teachable-machine
import reactTeachableMachine from '@s524797336/react-teachable-machine'
```


## Dev Usage

```bash
# install all this dependencies.
npm install

# development, default port: 8080
npm run dev

# production
npm run build

# server render
npm run build:server

# build with report
npm run build --report

# lint the files
npm run lint

# run the tests
npm test
```

# Features

## Core
- [x] react full stack
- [x] redux
- [x] jest
- [x] eslint
- [x] postcss (css,less,scss,styls)
- [x] webpack dev and build tools
- [x] locale
- [x] exceptions
- [x] server render
- [x] inline style (need help)
- [x] test framework

## Lib
- [x] http-api
- [x] redux-action-helper
- [x] redux-reducer-helper
npm package: @s524797336/require-rebuild
Description: Rebuild modules if built for a different node versions
Latest version: 1.0.0


# require-rebuild

  Patch `require()` to rebuild a node module if it has been built for a different node version.

  Works with _electron_ as well and has been tested on OSX and Windows.

## Usage

  Once, as the first line of your program, include this line:

```js
require('require-rebuild')();
```

  That's it! Now all further `require()` calls, no matter how deep in your dependency tree,  will make sure a native module has been compiled for the right node version.

  To see it in action, install a native module, then switch to a different node version with a different abi, and see how it rebuilds on the fly:

```bash
$ node example.js
Recompiling node_modules/bignum
CXX(target) Release/obj.target/bignum/bignum.o
SOLINK_MODULE(target) Release/bignum.node
Done!
```

## General warning

This belongs into application code, not into a lib. Better leave it to a lib's consumer how to build their dependencies.

## Build systems

At this moment, those build systems are supported

- `node-gyp`
- `prebuild`

## License

  MIT