@mbakereth/ldapjs-asn1
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -11,3 +11,3 @@ { | ||
"description": "Contains parsers and serializers for ASN.1 (currently BER only)", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"repository": { | ||
@@ -14,0 +14,0 @@ "type": "git", |
@@ -1,4 +0,4 @@ | ||
# `@ldapjs/asn1` | ||
# `@mbakereth/ldap-asn1` | ||
`@ldapjs/asn1` is a library for encoding and decoding ASN.1 datatypes in pure | ||
`@mbakereth/ldap-asn1` is a library for encoding and decoding ASN.1 datatypes in pure | ||
JS. Currently BER encoding is supported. | ||
@@ -11,3 +11,3 @@ | ||
```js | ||
const { BerReader, BerTypes } = require('@ldapjs/asn1') | ||
const { BerReader, BerTypes } = require('@mbakereth/ldap-asn1') | ||
const reader = new BerReader(Buffer.from([0x30, 0x03, 0x01, 0x01, 0xff])) | ||
@@ -26,3 +26,3 @@ | ||
```js | ||
const { BerWriter } = require('@ldapjs/asn1'); | ||
const { BerWriter } = require('@mbakereth/ldap-asn1'); | ||
const writer = new BerWriter(); | ||
@@ -40,3 +40,3 @@ | ||
```sh | ||
npm install @ldapjs/asn1 | ||
npm install @mbakereth/ldap-asn1 | ||
``` | ||
@@ -43,0 +43,0 @@ |
80212