• Stars
    star
    3,722
  • Rank 11,857 (Top 0.3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 15 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bringing stdlibs of other programming languages to JavaScript for educational purposes

Locutus

All your standard libraries will be assimilated into our JavaScript collective. Resistance is futile.

More info at: https://locutus.io/

Install

npm install locutus

Use

vim index.js
var sprintf = require('locutus/php/strings/sprintf')
var echo = require('locutus/php/strings/echo')
var effectiveness = 'futile'
echo(sprintf('Resistance is %s', effectiveness))
var strings = require('locutus/golang/strings')
console.log(strings.Contains('Locutus', 'cut'))
$ node index.js
Resistance is futile
true

Development

Some guidelines and instructions can be found in CONTRIBUTING.md

Sponsors

✨ thanks to https://jetbrains.com for providing a free license to their development tools ❀️