Skip to content
All your standard libraries will be assimilated into our JavaScript collective. Resistance is futile.
Branch: master
Clone or download
argosback Fix is_callable test (#391)
* FIX : is_callable test
Latest commit f959943 Apr 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Tranform php.js into Locutus (#291) May 2, 2016
_legacy/php Because GLOBAL is deprecated in node (#303) Aug 9, 2016
scripts Linting fixes Feb 14, 2017
src Fix is_callable test (#391) Apr 26, 2019
test FIX: is_callable test (#388) Apr 24, 2019
website Fix issues with incorrect values being returned (#386) Mar 4, 2019
.babelrc
.eslintignore Upgrade eslint and fix newly found issues accordingly Feb 14, 2017
.eslintrc Tranform php.js into Locutus (#291) May 2, 2016
.gitignore website: Use Hexo deploy vs bash script May 3, 2016
.travis.yml ci: test Node.js 6, 8, 10 and 11 (#384) Nov 8, 2018
CHANGELOG.md Update CHANGELOG.md Sep 7, 2018
CONDUCT.md Add code of conduct Oct 27, 2015
CONTRIBUTING.md Update CONTRIBUTING.md Nov 6, 2018
LICENSE Lose js suffix in locutus May 11, 2016
Makefile Fakefile Apr 1, 2016
README.md Update README.md May 30, 2016
env.example.sh Let Travis auto-deploy to gh-pages on master changes May 3, 2016
locutus.code-workspace Add vscode workspace Sep 7, 2018
package.json Add Python's ascii_uppercase and ascii_lowercase ( and fix all ESLint… Nov 6, 2018
yarn.lock Save residu Oct 23, 2018

README.md

Locutus

Build Status

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

More info at: http://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

You can’t perform that action at this time.