Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

language4wiki

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

language4wiki

This is a language that supports language Javascript handling of AppLSACs to support the creation of support tools for learning resources. The provided package is used e.g. for language specific select boxes in HTML.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Language4Wiki

This package provides supports for language Javascript handling of AppLSACs for MediaWikis learning resources (see Wikiversity). The repository contains JSON data structures for creating of language support for AppLSAC tools of learning resources. The provided package is used e.g. for language specific select boxes in HTML.

Example AppLSACs

Installation

Assuming you have already created a repository for you project and you want to use language4wiki in that project within your AppLSAC

npm install language4wiki --save

If you just want to use the package in your script install

npm install language4wiki

If you want to install that just for building your AppLSAC without using it in your WebApp that install

npm install language4wiki --save-dev

Usage

The package contains the

var l4w = require("language4wiki");

console.log(l4w.languages);
/*
will output
    {
        "text": "English",
        "value": "en"
    },
    {
        "text": "Spanish",
        "value": "es"
    },
    {
        "text": "German",
        "value": "de"
    },
    ...
}    
to the console */

Keywords

MediaWiki

FAQs

Package last updated on 24 Nov 2020

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