All Projects → lapo-luchini → Asn1js

lapo-luchini / Asn1js

Licence: other
JavaScript generic ASN.1 parser

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Asn1js

goesdump
GOES xRIT Data Dumper for xRIT Demodulator
Stars: ✭ 46 (-87.33%)
Mutual labels:  decoder
morse-pro
Library for manipulating Morse code text and sound. Understands prosigns and Farnsworth speed. Can create WAV files and analyse input from the microphone or audio files.
Stars: ✭ 85 (-76.58%)
Mutual labels:  decoder
He
A robust HTML entity encoder/decoder written in JavaScript.
Stars: ✭ 2,973 (+719.01%)
Mutual labels:  decoder
CustomJSONDecoder
No description or website provided.
Stars: ✭ 24 (-93.39%)
Mutual labels:  decoder
Real-Time-Video-Streaming
a real time streaming video application using RTSP
Stars: ✭ 15 (-95.87%)
Mutual labels:  decoder
schifra
C++ Reed Solomon Error Correcting Library https://www.schifra.com
Stars: ✭ 28 (-92.29%)
Mutual labels:  decoder
scte35-threefive
threefive is the highest rated SCTE35 parser, ever. maybe.
Stars: ✭ 75 (-79.34%)
Mutual labels:  decoder
Ultrajson
Ultra fast JSON decoder and encoder written in C with Python bindings
Stars: ✭ 3,504 (+865.29%)
Mutual labels:  decoder
ExcelFormulaBeautifier
Excel Formula Beautifer,make Excel formulas more easy to read,Excel公式格式化/美化,将Excel公式转为易读的排版
Stars: ✭ 27 (-92.56%)
Mutual labels:  decoder
Flask Session Cookie Manager
🍪 Flask Session Cookie Decoder/Encoder
Stars: ✭ 257 (-29.2%)
Mutual labels:  decoder
jradio
Software radio decoding
Stars: ✭ 40 (-88.98%)
Mutual labels:  decoder
DTMF-Decoder
A Java program to implement a DMTF Decoder.
Stars: ✭ 28 (-92.29%)
Mutual labels:  decoder
AnimatedGif
📼 A high performance .NET library for reading and creating animated GIFs
Stars: ✭ 106 (-70.8%)
Mutual labels:  decoder
aptdec
NOAA APT satellite imagery decoder (not-so-WIP)
Stars: ✭ 43 (-88.15%)
Mutual labels:  decoder
Keras Transformer
Transformer implemented in Keras
Stars: ✭ 273 (-24.79%)
Mutual labels:  decoder
Base62
PHP Base62 encoder and decoder for integers and big integers with Laravel 5 support.
Stars: ✭ 16 (-95.59%)
Mutual labels:  decoder
schemawax
🧬 Tiny typed data decoder—get to the DNA of your data
Stars: ✭ 45 (-87.6%)
Mutual labels:  decoder
Tiny Utf8
Unicode (UTF-8) capable std::string
Stars: ✭ 322 (-11.29%)
Mutual labels:  decoder
Jpegsnoop
JPEGsnoop: JPEG decoder and detailed analysis
Stars: ✭ 282 (-22.31%)
Mutual labels:  decoder
IkigaJSON
A high performance JSON library in Swift
Stars: ✭ 316 (-12.95%)
Mutual labels:  decoder

asn1js

asn1js is a JavaScript generic ASN.1 parser/decoder that can decode any valid ASN.1 DER or BER structures.

An example page that can decode Base64-encoded (raw base64, PEM armoring and begin-base64 are recognized) or Hex-encoded (or local files with some browsers) is included and can be used both online on the official website or offline (ZIP file).

Usage with npm / yarn

This package can be installed with either npm or yarn via the following commands:

npm install @lapo/asn1js
# or with yarn
yarn add @lapo/asn1js

Assuming a standard javascript bundler is setup you can import it like so:

const ASN1 = require('@lapo/asn1js');
// or with ES modules
import ASN1 from '@lapo/asn1js';

A submodule of this package can also be imported:

const Hex = require('@lapo/asn1js/hex');
// or with ES modules
import Hex from '@lapo/asn1js/hex';

Usage with RequireJS

Can be tested on JSFiddle.

<script type="text/javascript" src="https://unpkg.com/requirejs/require.js"></script>
<script>
require([
  'https://unpkg.com/@lapo/asn1js/asn1.js',
  'https://unpkg.com/@lapo/asn1js/hex.js'
], function(ASN1, Hex) {
  document.body.innerText = ASN1.decode(Hex.decode('06032B6570')).content();
});
</script>

ISC license

ASN.1 JavaScript decoder Copyright (c) 2008-2020 Lapo Luchini [email protected]

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

credits

links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].