awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
locutusjs avatar

locutusjs/locutus

0
View on GitHub↗
3,770 stars·1,093 forks·TypeScript·9 viewslocutus.io↗

Locutus

Locutus is a multi-language utility library and polyfill collection written in TypeScript. It provides a comprehensive set of implementations for standard library functions from various programming languages, enabling developers to use familiar semantics and behaviors across different technical environments.

The library functions as a cross-language standard library, porting core logic and utilities from diverse languages into a type-safe TypeScript toolset. It focuses on maintaining consistent behavior through a polyfill-based design that replicates the original functionality of these foreign language signatures.

The project covers a broad surface of capabilities, including advanced mathematical computing with arbitrary precision, statistical analysis, and complex sequence iteration. It also includes utilities for text processing and analysis, filesystem and network management, internationalization, and binary data handling.

Features

  • Language Standard Library Ports - Implements standard library functions from various programming languages in TypeScript to provide familiar semantics.
  • Standard Library Implementations - Provides a comprehensive set of standard library implementations from multiple programming languages ported to TypeScript.
  • Standard Library Polyfills - Provides a comprehensive collection of TypeScript implementations of standard library functions from diverse programming languages.
  • Cross-Language Semantic Standards - Ensures consistent evaluation and semantic behavior of standard library functions across different technical environments.
  • Multi-Language Utility Libraries - Provides a broad range of mathematical, string, and data manipulation tools based on diverse language standards.
  • Standard Libraries - Acts as a comprehensive TypeScript implementation of standard library functions from various programming languages.
  • Mathematical Computing Libraries - Provides a comprehensive set of high-precision calculations, statistical analysis, and complex trigonometry.
  • Arbitrary Precision Arithmetic - Implements arbitrary-precision arithmetic to perform mathematical operations without floating-point rounding errors.
  • Standard Mathematical Libraries - Provides a standard library of mathematical functions including trigonometry, logarithms, and basic arithmetic.
  • Text and String Utilities - Provides tools for cleaning, transforming, and analyzing text and string sequences.
  • Array Manipulation Utilities - Provides a set of sequence utilities for filtering, merging, sorting, and transforming array data.
  • Operator Functions - Implements arithmetic and logical operations as callable functions instead of native operators.
  • Regular Expression Libraries - Provides utilities for searching, replacing, and quoting strings using regular expression patterns.
  • Functional Toolsets - Ships a suite of utilities for complex sequence iterations, statistical calculations, and precision mathematics.
  • Combinatoric Iterators - Generates combinations, permutations, and products for efficient traversal of large data sets.
  • Language Signature Mappings - Wraps foreign language function signatures in TypeScript definitions to maintain strict type safety.
  • Transcendental and Rounding Functions - Implements transcendental functions including trigonometry, logarithms, and power functions with rounding.
  • Statistical Moment Calculation - Computes statistical moments including mean, variance, and correlation from numeric datasets.

Star history

Star history chart for locutusjs/locutusStar history chart for locutusjs/locutus

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does locutusjs/locutus do?

Locutus is a multi-language utility library and polyfill collection written in TypeScript. It provides a comprehensive set of implementations for standard library functions from various programming languages, enabling developers to use familiar semantics and behaviors across different technical environments.

What are the main features of locutusjs/locutus?

The main features of locutusjs/locutus are: Language Standard Library Ports, Standard Library Implementations, Standard Library Polyfills, Cross-Language Semantic Standards, Multi-Language Utility Libraries, Standard Libraries, Mathematical Computing Libraries, Arbitrary Precision Arithmetic.

What are some open-source alternatives to locutusjs/locutus?

Open-source alternatives to locutusjs/locutus include: phuocng/1loc — 1loc is a JavaScript utility library and multifaceted toolkit providing a collection of single-line functions for… scala/scala — Scala is a statically typed programming language and compiler that combines object-oriented and functional programming… haxefoundation/haxe — Haxe is a statically typed, multi-target programming language and open-source compiler toolkit that translates a… zloirock/core-js — core-js is a comprehensive compatibility layer and standard library polyfill that implements ECMAScript proposals and… nette/utils — This project is a general-purpose PHP utility library offering a collection of helper classes and functions for string… uutils/coreutils — This project is a suite of basic command line utilities rewritten in Rust, providing a cross-platform implementation…

Open-source alternatives to Locutus

Similar open-source projects, ranked by how many features they share with Locutus.
  • phuocng/1locphuocng avatar

    phuocng/1loc

    6,738View on GitHub↗

    1loc is a JavaScript utility library and multifaceted toolkit providing a collection of single-line functions for common mathematical, string, date, and geometric operations. It functions as a set of functional programming helpers and data validation predicates designed to perform atomic transformations and validations. The project includes a geometry math library for calculating distances, angles, and spatial overlaps between points and rectangles, alongside a text manipulation library for casting, capitalizing, and analyzing string content. The toolkit covers broader capability areas inclu

    MDXeleventyjavascriptjavascript-utils
    View on GitHub↗6,738
  • scala/scalascala avatar

    scala/scala

    14,548View on GitHub↗

    Scala is a statically typed programming language and compiler that combines object-oriented and functional programming paradigms. It serves as a cross-platform runtime language capable of targeting the Java Virtual Machine and JavaScript to share logic between backend servers and web frontends. The project provides a functional programming framework with immutable data structures and higher-order functions to build reliable concurrent and distributed applications. It distinguishes itself through deep interoperability with Java and JavaScript ecosystems and the ability to transform code into n

    Scalafunctional-programmingjvm-languagesobject-oriented-programming
    View on GitHub↗14,548
  • haxefoundation/haxeHaxeFoundation avatar

    HaxeFoundation/haxe

    6,880View on GitHub↗

    Haxe is a statically typed, multi-target programming language and open-source compiler toolkit that translates a single codebase into native executables and scripts for JavaScript, C++, C#, Java, Python, Lua, PHP, and Flash targets. It provides a unified type system with automatic type inference, a compile-time macro system for code transformation and generation, conditional compilation directives, and a static analysis engine that enforces null safety and eliminates dead code to produce smaller, safer outputs. The language is supported by the HashLink virtual machine, which executes platform

    Haxecompilercross-platformhaxe
    View on GitHub↗6,880
  • zloirock/core-jszloirock avatar

    zloirock/core-js

    25,501View on GitHub↗

    core-js is a comprehensive compatibility layer and standard library polyfill that implements ECMAScript proposals and stable language features across diverse JavaScript runtimes. It serves as a runtime environment shim to ensure consistent execution of global objects, iteration protocols, and standard library methods in older browsers or non-browser environments. The project is distinguished by its delivery models, offering both prototype-based global polyfilling and a pure-module implementation. This allows for the integration of modern functionality without modifying global prototypes to pr

    JavaScript
    View on GitHub↗25,501
  • See all 30 alternatives to Locutus→