Skip to content
master
Go to file
Code

Latest commit

* php preg_replace function added

* preg_replace: some test added

* preg_replace: test syntext corrected

* SyntaxError corrected

* tests modified

* annotation modified to pass test and test added

* example 3 replace syntax corrected
a010ca5

Git stats

Files

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

README.md

Locutus

Build Status

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

You can’t perform that action at this time.