open-index/open-npm huggingface dataset:
npm package: @ldap-js/asn1
Description: Contains parsers and serializers for ASN.1 (currently BER only)
Latest version: 2.1.0

# `@ldap-js/asn1`

`@ldap-js/asn1` is a library for encoding and decoding ASN.1 datatypes in pure
JS. Currently BER encoding is supported.

### Decoding

The following reads an ASN.1 sequence with a boolean.

```js
const { BerReader, BerTypes } = require('@ldap-js/asn1')
const reader = new BerReader(Buffer.from([0x30, 0x03, 0x01, 0x01, 0xff]))

reader.readSequence()
console.log('Sequence len: ' + reader.length)
if (reader.peek() === BerTypes.Boolean)
console.log(reader.readBoolean())
```

### Encoding

The following generates the same payload as above.

```js
const { BerWriter } = require('@ldap-js/asn1');
const writer = new BerWriter();

writer.startSequence();
writer.writeBoolean(true);
writer.endSequence();

console.log(writer.buffer);
```

## Installation

```sh
npm install @ldap-js/asn1
```

## Bugs

See <https://github.com/ldap-js/asn1/issues>.
npm package: @ldap-js/protocol
Description: Provides constants for LDAP ASN.1 tags and values.
Author: Taha Amin Ghafuri
Latest version: 1.2.2

# `@ldap-js/protocol`

This package provides a set of constant values and ASN.1 tags that are used
throughout the LDAP protocol. The constants are taken primarily from the
corresponding RFC: https://datatracker.ietf.org/doc/html/rfc4511.

For reference on how tags are constructed, read:
https://web.archive.org/web/20220525004444/https://ldap.com/ldapv3-wire-protocol-reference-asn1-ber/
npm package: @ldapjs/asn1
Description: Contains parsers and serializers for ASN.1 (currently BER only)
Latest version: 2.0.0
Deprecated: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md

# `@ldapjs/asn1`

`@ldapjs/asn1` is a library for encoding and decoding ASN.1 datatypes in pure
JS. Currently BER encoding is supported.

### Decoding

The following reads an ASN.1 sequence with a boolean.

```js
const { BerReader, BerTypes } = require('@ldapjs/asn1')
const reader = new BerReader(Buffer.from([0x30, 0x03, 0x01, 0x01, 0xff]))

reader.readSequence()
console.log('Sequence len: ' + reader.length)
if (reader.peek() === BerTypes.Boolean)
console.log(reader.readBoolean())
```

### Encoding

The following generates the same payload as above.

```js
const { BerWriter } = require('@ldapjs/asn1');
const writer = new BerWriter();

writer.startSequence();
writer.writeBoolean(true);
writer.endSequence();

console.log(writer.buffer);
```

## Installation

```sh
npm install @ldapjs/asn1
```

## Bugs

See <https://github.com/ldapjs/asn1/issues>.
npm package: @ldapjs/attribute
Description: API for handling LDAP entry attributes
Latest version: 1.0.0
Deprecated: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md

# @ldapjs/attribute

Provides a class for representing LDAP entry attributes as described in
[RFC 4512 §2.5](https://www.rfc-editor.org/rfc/rfc4512#section-2.5).

## License

MIT.
npm package: @ldapjs/change
Description: API for handling LDAP change objects
Latest version: 1.0.0
Deprecated: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md

# change

Provides objects for managing changes as described in
[RFC 4511 §4.6](https://www.rfc-editor.org/rfc/rfc4511.html#section-4.6).

## License

MIT.
npm package: @ldapjs/controls
Description: LDAP control objects
Author: James Sumners
Latest version: 2.1.0
Deprecated: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md

# @ldapjs/controls

This package provides implementations of [LDAP controls][controls]. The
primary purpose of this library is to facilitate client and server
implementations in the [`ldapjs`](https://npm.im/ldapjs) package.

## Docs

At this time, one must reference the code to learn about the available
controls and their methods.

[controls]: https://datatracker.ietf.org/doc/html/rfc4511#section-4.1.11
npm package: @ldapjs/dn
Description: API for handling LDAP distinguished name strings
Latest version: 1.1.0
Deprecated: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md

# dn

Provides objects for representing and working with LDAP distinguished name
strings as defined by [RFC 4514](https://www.rfc-editor.org/rfc/rfc4514).

## License

MIT.
npm package: @ldapjs/filter
Description: API for handling LDAP-style filters
Latest version: 2.1.1
Deprecated: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md

# ldap-filter

Provides methods for representing and working with LDAP filter
strings as defined by [RFC 4515](https://datatracker.ietf.org/doc/html/rfc4515).

## License

MIT.
npm package: @ldapjs/messages
Description: API for creating and parsing LDAP messages
Latest version: 1.3.0
Deprecated: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md

# @ldapjs/messages

Provides methods and objects to represent LDAP messages.

## License

MIT.
npm package: @ldapjs/protocol
Description: Provides constants for LDAP ASN.1 tags and values.
Author: James Sumners
Latest version: 1.2.1
Deprecated: This package has been decomissioned. See https://github.com/ldapjs/node-ldapjs/blob/8ffd0bc9c149088a10ec4c1ec6a18450f76ad05d/README.md

# `@ldapjs/protocol`

This package provides a set of constant values and ASN.1 tags that are used
throughout the LDAP protocol. The constants are taken primarily from the
corresponding RFC: https://datatracker.ietf.org/doc/html/rfc4511.

For reference on how tags are constructed, read:
https://web.archive.org/web/20220525004444/https://ldap.com/ldapv3-wire-protocol-reference-asn1-ber/
npm package: @ldclabs/anda_x402
Description: The Typescript version of the client SDK for the Anda x402.
Latest version: 0.4.1

# `@ldclabs/ic_oss_ts`
![License](https://img.shields.io/crates/l/ic-oss.svg)
[![Test](https://github.com/ldclabs/ic-oss/actions/workflows/test.yml/badge.svg)](https://github.com/ldclabs/ic-oss/actions/workflows/test.yml)
[![NPM version](http://img.shields.io/npm/v/@ldclabs/ic_oss_ts.svg)](https://www.npmjs.com/package/@ldclabs/ic_oss_ts)

[ic-oss](https://github.com/ldclabs/ic-oss) is a decentralized Object Storage Service on the Internet Computer.

`@ldclabs/ic_oss_ts` is the Typescript version of the client SDK for the ic-oss cluster.

## License

Copyright © 2024-2025 [LDC Labs](https://github.com/ldclabs).

Licensed under the MIT License. See [LICENSE](../../LICENSE-MIT) for details.
npm package: @ldclabs/ic-auth
Description: The Typescript version of the client SDK for the IC Auth.
Latest version: 0.4.0

# @ldclabs/ic-auth
![License](https://img.shields.io/npm/l/@ldclabs/ic-auth)
[![Test](https://github.com/ldclabs/ic-auth/actions/workflows/test.yml/badge.svg)](https://github.com/ldclabs/ic-auth/actions/workflows/test.yml)
[![NPM version](http://img.shields.io/npm/v/@ldclabs/ic-auth.svg)](https://www.npmjs.com/package/@ldclabs/ic-auth)

[IC-Auth](https://github.com/ldclabs/ic-auth) is a comprehensive web authentication system based on the Internet Computer (ICP) identity.

`@ldclabs/ic-auth` is the client-side TypeScript SDK for `ic-auth`, providing essential utilities for identity management and data serialization.

## Installation

Install the package using your favorite package manager:

```bash
npm install @ldclabs/ic-auth
```

or

```bash
yarn add @ldclabs/ic-auth
```

This package has peer dependencies on several `@dfinity` packages, which you should also have in your project.

```json
"peerDependencies": {
  "@dfinity/candid": ">=3.2.0",
  "@dfinity/agent": ">=3.2.0",
  "@dfinity/identity": ">=3.2.0",
  "@dfinity/principal": ">=3.2.0",
  "@noble/hashes": ">=1.8.0",
  "cborg": ">=4.2.0"
}
```

## Usage

Here is a basic example of how to use the library to create a custom identity and sign a message.

```typescript
import { DelegationIdentity, Ed25519KeyIdentity, toDelegationIdentity, signCborMessage } from '@ldclabs/ic-auth';

async function main() {
  // 1. Create a base identity (e.g., from a private key)
  const baseIdentity = Ed25519KeyIdentity.generate();

  // 2. Create an AuthIdentity
  const authIdentity = toDelegationIdentity(baseIdentity);

  // 4. Sign a message (e.g., a challenge from the backend)
  const message = { challenge: 'Hello, world!' };
  const signedEnvelope = await signCborMessage.signCborMessage(message);
}

main();
```

## License

Copyright © 2024-2025 [LDC Labs](https://github.com/ldclabs).

Licensed under the MIT License. See [LICENSE](../../LICENSE-MIT) for details.
npm package: @ldclabs/ic_oss_ts
Description: The Typescript version of the client SDK for the ic-oss cluster.
Latest version: 1.2.3

# `@ldclabs/ic_oss_ts`
![License](https://img.shields.io/crates/l/ic-oss.svg)
[![Test](https://github.com/ldclabs/ic-oss/actions/workflows/test.yml/badge.svg)](https://github.com/ldclabs/ic-oss/actions/workflows/test.yml)
[![NPM version](http://img.shields.io/npm/v/@ldclabs/ic_oss_ts.svg)](https://www.npmjs.com/package/@ldclabs/ic_oss_ts)

[ic-oss](https://github.com/ldclabs/ic-oss) is a decentralized Object Storage Service on the Internet Computer.

`@ldclabs/ic_oss_ts` is the Typescript version of the client SDK for the ic-oss cluster.

## License

Copyright © 2024-2025 [LDC Labs](https://github.com/ldclabs).

Licensed under the MIT License. See [LICENSE](../../LICENSE-MIT) for details.