You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

wikipedias

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wikipedias

Metadata about Wikipedia's international subdomain codes

Source
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

Wikipedias

wikipedias is a node module containing metadata about Wikidpedia's international subdomain codes. The data was scraped from List_of_Wikipedias#List. It was created as a dependency of Ord, a node app that uses Wikipedia to translate words into many languages.

Installation

npm install wikipedias --save

Usage

var wikipedias = require('wikipedias');
console.log(wikipedias);

{
  en: {
    code: 'en',
    language: 'English',
    script: 'English',
    name: 'English Wikipedia',
    size: '6'
  },
  de: {
    code: 'de',
    language: 'German',
    script: 'Latn',
    name: 'German Wikipedia',
    size: '6'
  },
  fr: {
    code: 'fr',
    language: 'French',
    script: 'Latn',
    name: 'French Wikipedia',
    size: '6'
  },
}

Tests

npm test

wikipedias
  ✓ is an object
  ✓ uses subdomains as object keys
  each wikipedia
    ✓ has a code
    ✓ has a language
    ✓ has a script
    ✓ has a name
    ✓ has a size

Keywords

wikipedia

FAQs

Package last updated on 10 Jun 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