Socket
Socket
Sign inDemoInstall

typographic-quotes-l10n-db

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typographic-quotes-l10n-db

Raw data about typographic quotes


Version published
Weekly downloads
8.5K
increased by11.73%
Maintainers
1
Weekly downloads
 
Created
Source

typographic-quotes-l10n-db

NPM version Dependency Status DevDependency Status

Raw data about typographic quotes

Raw data about typographic quotes per language from the appropriate wikipedia page. Language codes are using ISO 639 standard.

Install

npm install --save typographic-quotes-l10n-db

Usage

Pass language code and quotesDB will return string with 4 symbols. First two are primary quotes, second ones are secondary.

var quotesDB = require('typographic-quotes-l10n-db');

quotesDB('zh-Hans'); // “”‘’   Chinese, simplified
quotesDB('en-uk');   // ‘’“”   English, UK
quotesDB('en-us');   // “”‘’   English, US; English, Canada
quotesDB('ru');      // «»„“   Russian
quotesDB('da');      // »«›‹   Danish
quotesDB('sv');      // ””’’   Swedish

License

MIT © Vladimir Starkov

Keywords

FAQs

Package last updated on 03 Apr 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