Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unicons

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unicons

Cross-platform unicode icon toolkit

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17K
increased by47.57%
Maintainers
1
Weekly downloads
 
Created
Source

unicons

Cross-platform unicode icon toolkit

Provides fast access to the most commonly used unicode icons.

var unicons = require("unicons");

console.log(unicons.check); // ✓
console.log(unicons.cross); // ✖

Installation

npm i unicons --save

CLI mode

unicons has especially been designed for use in CLIs. If you want to support different OS, just call .cli(iconName) and you'll get the most suitable character for the given environment:

unicons.cli("circle"); // ● on Unix
                       // o on Windows

Icon table

PropertyDefaultWindows Console Fallback
check
cross×
arrowLeft
arrowUp
arrowRight
arrowDown
circleo

The icon table is still very small :(
If you can't find your icon in the icon table, don't hesitate to create a pull request.

License

Unlicense

Keywords

FAQs

Package last updated on 03 Oct 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc