🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
c

demangle

A port of the libc++abi name demangler to JavaScript, using Emscripten.

1.0.1
latest
73

Supply Chain Security

100

Vulnerability

79

Quality

78

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Uses eval

Supply chain risk

Package uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Found 1 instance in 1 package

Version published
Weekly downloads
5
-54.55%
Maintainers
1
Weekly downloads
 
Created
Issues
1

cxx_demangle

A port of the libc++abi name demangler to JavaScript, using Emscripten.

Install

$ npm install demangle

Usage

In CommonJS:

let { demangle } = require("demangle");
console.log(demangle("__Znwj")); // "operator new(unsigned int)"
console.log(demangle("__Z3FooIidEvi")); // "void Foo<int, double>(int)"

In a browser, including demangle.js in a script tag will set a demangle function on window. Untested.

Building

$ emmake ./build.sh

Test

$ npm test

License

The MIT License (MIT)

Copyright (c) 2015 libcxxabi authors, emscripten authors, cxx_demangle authors

FAQs

Package last updated on 23 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts