open-index/open-npm huggingface dataset:
npm package: @ml.wasm/entropy
Description: WebAssembly implementation of Series and Dataframes
Latest version: 0.1.4

# Entropy

The goal of this project is to provide a **fast, easy-to-use Dataframes
Javascript library** powered by WebAssembly, written in Rust.

This project is a part of a larger project called [ml-wasm](https://www.github.com/ml-wasm),
which aims to provide a complete machine learning ecosystem in JavaScript.

## Documentation

[Entropy](https://ml-wasm.github.io/entropy/)

## Installing the package

[NPM](https://www.npmjs.com/package/@ml.wasm/entropy)

## How to use

```js
import init, {
  ColumnType,
  SeriesF64,
  SeriesI32,
  SeriesSTR,
  DataFrame,
  readcsv,
} from "../pkg/entropy.js";

(async () => {
  // This init function sets up everything you need to use this library
  await init();

  // All your code goes here...
})();
```
npm package: @ml.wasm/linalg
Description: Linear algebra accelerated by WebAssembly
Latest version: 0.1.7

<div align="center">
  <h1>📐 ml.wasm/linalg 📏</h1>

  <p>
    <strong>Linear Algebra powered by Web Assembly</strong>
  </p>

  <sub>This project is currently in alpha and missing some crucial features</sub>

  <h3>
    <a href="https://ml-wasm.github.io/linalg">docs</a>
    <span> | </span>
    <a href="https://www.npmjs.com/package/@ml.wasm/linalg">npm</a>
  </h3>
</div>

## Quick Start

Here, to demonstrate, we'll be using [vite](https://vitejs.dev/) to scaffold a project:

``` sh
npm init vite@latest  # choose a simple vanilla js project
npm i @ml.wasm/linalg
```

And add this to `main.js`:

```js title="main.js"
import init, {
  initThreadPool,
  IntegersVector,
  FloatsVector,
  StringsVector,
  IntegersMatrix,
  FloatsMatrix,
  StringsMatrix,
} from '@ml.wasm/linalg';

(async () => {
  // This init function sets up everything you need to use this library
  await init();

  // This sets up the concurrency
  await initThreadPool(navigator.hardwareConcurrency);

  // All your code goes here...
})();
```

Note that you'll have to create a `vite.config.js`:

``` js title="vite.config.js"
export default {
  server: {
    fs: {
      // Allow serving files from one level up to the project root
      allow: ['..']
    }
  }
}
```