open-index/open-npm huggingface dataset:
npm package: @iota/identity-stronghold-nodejs
Description: This is the beta version of the official Stronghold Account Storage plugin for Node.js with [IOTA Identity Wasm](https://github.com/iotaledger/identity.rs/tree/main/bindings/wasm).
Latest version: 0.6.1

# IOTA Identity Stronghold Node.js

This is the beta version of the official Stronghold Account Storage plugin for Node.js with [IOTA Identity Wasm](https://github.com/iotaledger/identity.rs/tree/main/bindings/wasm).

## Install the plugin:

Latest Release: this version matches the main branch of this repository and is stable.
```bash
npm install @iota/identity-stronghold-nodejs
```

Development Release: this version matches the dev branch of this repository, may see frequent breaking changes and has the latest code changes.
```bash
npm install @iota/identity-stronghold-nodejs@dev
```
## Usage
<!-- 
Test this example using https://github.com/anko/txm: `txm README.md`

Replace imports with local paths for txm:
!test program
cat \
| sed -e "s#require('@iota/identity-wasm/node')#require('../wasm/node/identity_wasm.js')#" \
| sed -e "s#require('@iota/identity-stronghold-nodejs')#require('./dist/index.js')#" \
| node
-->
<!-- !test check Nodejs Example -->
```javascript
const { AccountBuilder, ExplorerUrl } = require('@iota/identity-wasm/node')
const { Stronghold } = require('@iota/identity-stronghold-nodejs')


async function main() {
    // Stronghold settings for the Account storage.
    // This will load an existing Stronghold or create a new one automatically.
    const filepath = "./example-strong.hodl";
    const password = "my-password";
    const stronghold = await Stronghold.build(filepath, password);
    
    // This generates a new keypair stored securely in the above Stronghold, 
    // constructs a new DID Document, and publishes it to the IOTA Mainnet.
    let builder = new AccountBuilder({
        storage: stronghold,
    });
    let account = await builder.createIdentity();

    // Print the DID of the newly created identity.
    const did = account.did();
    console.log(did.toString());

    // Print the local state of the DID Document.
    const document = account.document();
    console.log(JSON.stringify(document, null, 2));

    // Print the Explorer URL for the DID.
    console.log(`Explorer URL:`, ExplorerUrl.mainnet().resolverUrl(did));
}

main()
```

## Build

Alternatively, you can build the bindings if you have Rust installed. If not, refer to [rustup.rs](https://rustup.rs) for the installation. Then install the necessary dependencies using:
```bash
npm install
```

To use the latest local changes from the Wasm bindings follow the build instructions from the [IOTA Identity Wasm build section](https://github.com/iotaledger/identity.rs/tree/main/bindings/#build) and then link the result with:

```bash
cd ../wasm
npm link
cd ../stronghold-nodejs
npm link @iota/identity-wasm
```

and then build the bindings

```bash
npm run build
```
If you linked the Wasm bindings, don't forget to unlink before packaging the module.

```bash
npm unlink --no-save @iota/identity-wasm
npm install
```

## Minimum Requirements

The minimum supported version for node is: `v16.0.0`
npm package: @iota/identity-stronghold-nodejs-darwin-arm64
Description: This is the **aarch64-apple-darwin** binary for `@iota/identity-stronghold-nodejs`
Latest version: 0.6.1

# `@iota/identity-stronghold-nodejs-darwin-arm64`

This is the **aarch64-apple-darwin** binary for `@iota/identity-stronghold-nodejs`
npm package: @iota/identity-stronghold-nodejs-darwin-x64
Description: This is the **x86_64-apple-darwin** binary for `@iota/identity-stronghold-nodejs`
Latest version: 0.6.1

# `@iota/identity-stronghold-nodejs-darwin-x64`

This is the **x86_64-apple-darwin** binary for `@iota/identity-stronghold-nodejs`
npm package: @iota/identity-stronghold-nodejs-linux-x64-gnu
Description: This is the **x86_64-unknown-linux-gnu** binary for `@iota/identity-stronghold-nodejs`
Latest version: 0.6.1

# `@iota/identity-stronghold-nodejs-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `@iota/identity-stronghold-nodejs`
npm package: @iota/identity-stronghold-nodejs-linux-x64-musl
Description: This is the **x86_64-unknown-linux-musl** binary for `@iota/identity-stronghold-nodejs`
Latest version: 0.6.1

# `@iota/identity-stronghold-nodejs-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `@iota/identity-stronghold-nodejs`
npm package: @iota/identity-stronghold-nodejs-win32-x64-msvc
Description: This is the **x86_64-pc-windows-msvc** binary for `@iota/identity-stronghold-nodejs`
Latest version: 0.6.1

# `@iota/identity-stronghold-nodejs-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `@iota/identity-stronghold-nodejs`
npm package: @iota/identity-wasm
Description: WASM bindings for IOTA Identity - A Self Sovereign Identity Framework implementing the DID and VC standards from W3C. To be used in JavaScript/TypeScript
Author: IOTA Foundation
Latest version: 1.9.4-beta.1

# IOTA Identity WASM

## [Identity Documentation Pages](https://docs.iota.org/iota-identity)

## [Getting started with the IOTA Identity WASM Library.](https://docs.iota.org/iota-identity/getting-started/wasm)

## [API Reference](https://docs.iota.org/references/iota-identity/wasm/api_ref)

## [Examples](https://github.com/iotaledger/identity/tree/main/bindings/wasm/identity_wasm/examples/README.md)

## Install the Library

If your project does not contain it already, install the peer dependency `@iota/iota-sdk` as well.

```bash npm2yarn
npm install @iota/iota-sdk
```

You can install the latest alpha version of the library by running the following command:

```bash npm2yarn
npm install @iota/identity-wasm@alpha
```

## Build the Library

Alternatively, you can build the bindings yourself if you have Rust installed. If not, refer
to [rustup.rs](https://rustup.rs) for the installation.

### Requirements

- [Node.js](https://nodejs.org/en) (>= `v20`)
- [Rust](https://www.rust-lang.org/) (>= 1.65)
- [Cargo](https://doc.rust-lang.org/cargo/) (>= 1.65)
- for running example: a local network node with the IOTA identity package deployed as described [here](./local-network-setup.md)

### 1. Install `wasm-bindgen-cli`

If you want to build the library from source,
you will first need to manually install [`wasm-bindgen-cli`](https://github.com/rustwasm/wasm-bindgen).
A manual installation is required because we use the [Weak References](https://rustwasm.github.io/wasm-bindgen/reference/weak-references.html) feature,
which [`wasm-pack` does not expose](https://github.com/rustwasm/wasm-pack/issues/930).

```bash
cargo install --force wasm-bindgen-cli
```

### 2. Install Dependencies

After installing `wasm-bindgen-cli`, you can install the necessary dependencies using the following command:

```bash
npm install
```

### 3. Build

You can build the bindings for `node.js` using the following command:

```bash npm2yarn
npm run build:nodejs
```

<!--

You can build the bindings for the `web` using the following command:

```bash npm2yarn
npm run build:web
```

-->
npm package: @iota/industry_4.0_language
Description: Industry_4.0_Language
Author: Alexey Sobolev
Latest version: 1.0.6

# Industry 4.0 Language Library

## Usage

Add the package name to your `package.json` dependencies list

Import functions and call it within your application
```
import { operations, submodel } from 'SeMarket/industry_4.0_language';

const eClassOperations = operations();
const eClassSubmodel = submodel(eClassOperations[0].id);
```

## API Description:

#### operations  
1. For CfP message type **returns** list of operations (plain text)

#### submodel
1. Performs lookup in the eCl@ss catalog, retrieves submodel  
2. **Returns** submodel  

#### evaluate  
1. Evaluates values  
2. **Returns** success or failure notification
    
#### generate 
1. Generates conversationId, messageId,  
2. Fills placeholder JSON for selected message type with provided values, appends submodel  
3. **Returns** generated message of the selected type (CfP, Proposal, etc.)