locutus
Locutus other languages' stadard libraries to JavaScript for fun and educational purposes
Last updated 10 years ago by kvz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install locutus 
SYNC missed versions from official npm registry.

Locutus

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

Welcome to Locutus, where the boundaries of coding languages blur. We're a dedicated collective developers on a mission to explore the possibilities of porting standard libraries from various programming language (Go, Ruby, PHP, C) to JavaScript. Our journey is one of discovery, innovation, and sometimes, delightful chaos.

From the complex to the quirky, we assimilate libraries with a spirit of curiosity and a penchant for experimentation. Our creations typically start as rainy Sunday afternoon puzzles, and end up ranging from groundbreaking functions that enhance the JavaScript ecosystem, to unique oddities that challenge the norms of coding.

As we navigate through this uncharted territory, we invite you to join us. Whether to contribute, learn, or simply marvel at the wonders of cross-language integration and portability, your presence on GitHub is valued.

Embark on this journey with us at locutus.io.

Use our creations at your own risk, and may they inspire you to push the boundaries of what's possible with JavaScript.

Table of contents

Install

yarn add locutus

Use

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

Development

Some guidelines and instructions can be found in CONTRIBUTING.md

Current Tags

  • 3.0.36                                ...           latest (6 months ago)

63 Versions

  • 3.0.36                                ...           6 months ago
  • 3.0.35                                ...           6 months ago
  • 3.0.34                                ...           8 months ago
  • 3.0.33                                ...           8 months ago
  • 3.0.32                                ...           8 months ago
  • 3.0.31                                ...           8 months ago
  • 3.0.30                                ...           8 months ago
  • 3.0.28                                ...           8 months ago
  • 3.0.27                                ...           8 months ago
  • 3.0.26                                ...           8 months ago
  • 3.0.25                                ...           8 months ago
  • 3.0.24                                ...           8 months ago
  • 3.0.23                                ...           8 months ago
  • 3.0.22                                ...           8 months ago
  • 3.0.21                                ...           8 months ago
  • 3.0.20                                ...           8 months ago
  • 3.0.19                                ...           8 months ago
  • 3.0.18                                ...           8 months ago
  • 3.0.17                                ...           8 months ago
  • 3.0.16                                ...           9 months ago
  • 3.0.15                                ...           9 months ago
  • 3.0.14                                ...           9 months ago
  • 3.0.13                                ...           9 months ago
  • 3.0.12                                ...           9 months ago
  • 3.0.11                                ...           9 months ago
  • 3.0.10                                ...           9 months ago
  • 3.0.9                                ...           9 months ago
  • 3.0.8                                ...           9 months ago
  • 3.0.7                                ...           9 months ago
  • 3.0.5                                ...           9 months ago
  • 3.0.4                                ...           9 months ago
  • 3.0.3                                ...           9 months ago
  • 3.0.2                                ...           9 months ago
  • 3.0.1                                ...           9 months ago
  • 3.0.0                                ...           9 months ago
  • 2.0.39                                ...           10 months ago
  • 2.0.38                                ...           10 months ago
  • 2.0.37                                ...           a year ago
  • 2.0.36                                ...           a year ago
  • 2.0.35                                ...           a year ago
  • 2.0.34                                ...           a year ago
  • 2.0.32                                ...           3 years ago
  • 2.0.31                                ...           3 years ago
  • 2.0.30                                ...           3 years ago
  • 2.0.29                                ...           3 years ago
  • 2.0.16                                ...           5 years ago
  • 2.0.15                                ...           6 years ago
  • 2.0.14                                ...           6 years ago
  • 2.0.13                                ...           6 years ago
  • 2.0.12                                ...           6 years ago
  • 2.0.11                                ...           7 years ago
  • 2.0.10                                ...           8 years ago
  • 2.0.9                                ...           9 years ago
  • 2.0.8                                ...           10 years ago
  • 2.0.7                                ...           10 years ago
  • 2.0.6                                ...           10 years ago
  • 2.0.5                                ...           10 years ago
  • 2.0.4                                ...           11 years ago
  • 2.0.3                                ...           11 years ago
  • 2.0.2                                ...           11 years ago
  • 2.0.1                                ...           11 years ago
  • 2.0.0                                ...           11 years ago
  • 0.0.1                                ...           11 years ago
Maintainers (1)
Downloads
Total 246
Today 0
This Week 2
This Month 143
Last Day 0
Last Week 52
Last Month 63
Dependencies (0)
None
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE