Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a nodejs-compatible refactoring #1

Closed
wants to merge 7 commits into from

Conversation

emirotin
Copy link

made the module nodejs-compatible, moved all browser-specific staff to a separate files

@ghost ghost assigned lapo-luchini May 2, 2013
@naunidh
Copy link

naunidh commented Oct 30, 2014

I am looking for a node.js refactor - is there a plan to merge this branch in?

@arichiardi
Copy link

This branch is very interesting indeed to me too.

@lapo-luchini
Copy link
Owner

Mainline already supports NodeJS since b27e69f.
Are there other features of this PR that you miss?

e.g.:

const ASN1 = require('./asn1.js');
console.log(ASN1.decode(Buffer.from('300D06092A864886F70D0101050500', 'hex')));

@lapo-luchini
Copy link
Owner

Now officially available on npm as @lapo/asn1js.
Also, an example NodeJS usage to extract a known structure (CMS / PKCS#8 SignedData) is in @lapo/extractcms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants