The Wayback Machine - https://web.archive.org/web/20210914230737/https://github.com/locutusjs/locutus
Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 ❤️