0.1.0-alpha.2 • Published 10 months ago

@d-corler/lodash-rust v0.1.0-alpha.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Powered with Rust and WebAssembly

About

This library is a clone of Lodash, wrote in Rust and compiled into WebAssembly, with a lot of optimizations to increase speed execution.

🚴 Usage

💾 Install the npm package

npm install --save lodash-plus
# or
yarn add lodash-plus
# or
pnpm add lodash-plus

👩‍💻 How to contribute

🐑 Install dependencies

# Install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Add target
rustup target add wasm32-unknown-unknown
# Install wasm-pack
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

🛠️ Build

make build

🔬 Tests

Rust

make test

Headless browser

make test-wasm

🎁 Publish to NPM

make publish

📊 Run benchmarks

Rust

make bench

JavaScript

cd benchmarks
pnpm install
pnpm run start

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

0.1.0-alpha.2

10 months ago

0.1.0-alpha.1

10 months ago

0.1.0-alpha.0

10 months ago