Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@stdlib/datasets-emoji-code-picto
Advanced tools
Map emoji codes to pictographs.
npm install @stdlib/datasets-emoji-code-picto
var table = require( '@stdlib/datasets-emoji-code-picto' );
Returns an object mapping emoji codes to pictographs.
var t = table();
// returns {...}
var p = t[ ':smile:' ];
// returns '😄'
p = t[ ':unicorn:' ];
// returns '🦄'
var objectKeys = require( '@stdlib/utils-keys' );
var table = require( '@stdlib/datasets-emoji-code-picto' );
var codes;
var tbl;
var i;
// Get the data:
tbl = table();
// Get the emoji codes:
codes = objectKeys( tbl );
// Print out all the corresponding pictographs...
for ( i = 0; i < codes.length; i++ ) {
console.log( codes[ i ] + ' => ' + tbl[ codes[ i ] ] );
}
To use the module as a general utility, install the module globally
npm install -g @stdlib/datasets-emoji-code-picto
Usage: emoji-code-picto [options]
Options:
-h, --help Print this message.
-V, --version Print the package version.
stdout
as comma-separated values (CSV), where the first line is a header line.$ emoji-code-picto
code,emoji
...
The data files (databases) are licensed under an Open Data Commons Public Domain Dedication & License 1.0 and their contents are licensed under Creative Commons Zero v1.0 Universal. The software is licensed under Apache License, Version 2.0.
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
See LICENSE.
Copyright © 2016-2021. The Stdlib Authors.
0.0.2 (2021-06-15)
No changes reported for this release.
</section> <!-- /.release --> <section class="release" id="v0.0.1">FAQs
Emoji codes and pictographs.
We found that @stdlib/datasets-emoji-code-picto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.