npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@localized/eo

v0.3.1-alpha

Published

@localized, Esperanto

Downloads

2

Readme

@localized/ Esperanto

(This guide is currently only available in English)

Installation

npm install @localized/eo
const eo = require('@localized/eo');

or in TypeScript

import eo from '@localized/eo';

Exports

Exported is an object: top-level properties expose sync methods while the two objects kunkura (concurrent) and lauviĉa (sequential) contain async methods, (mostly that take higher-order async functions) such as eo.kunkura.tabelo.mapi representing an async concurrent map taking an async function as the mapper.

Sync

tabelo

This is the array object. It exposes every function in Array and Array.prototype (as of ES2019) named in Esperanto.

(all functions list coming soon)

  • tabelo.interligi (Array#concat)
  • tabelo.moviMemoron (Array#copyWithin)
  • tabelo.eniroj (Array#entries)
  • tabelo.ĉiu (Array#every)
  • tabelo.plenigi (Array#fill)
  • tabelo.filtri (Array#filter)
  • tabelo.trovi (Array#find)
  • tabelo.troviIndekso (Array#findIndex)
  • tabelo.platigi (Array#flat)
  • tabelo.plataMapi (Array#flatMap)
  • tabelo.porĈiu (Array#forEach)
  • tabelo.inkluzivas (Array#includes)
  • tabelo.indeksoDe (Array#indexOf)
  • tabelo.unuigi (Array#join)
  • tabelo.klavoj (Array#keys)
  • tabelo.lastaIndeksoDe (Array#lastIndexOf)
  • tabelo.kraketi (Array#pop) -- can someone help translate it better?
  • tabelo.puŝi (Array#push)
  • tabelo.redukti (Array#reduce)
  • tabelo.dekstraRedukti (Array#reduceRight)
  • tabelo.inversigi (Array#reverse)
  • tabelo.movi (Array#shift) -- can someone help translate it better?
  • tabelo.tranĉi (Array#slice)
  • tabelo.kelke (Array#some)
  • tabelo.klasi (Array#sort)
  • tabelo.splisi (Array#splice)
  • tabelo.malmovi (Array#unshift) -- can someone help translate it better?
  • tabelo.valoroj (Array#values)
  • tabelo.signovicigi (Array#toString)
  • tabelo.lokaSignovicigi (Array#toLocaleString)
  • tabelo.longeco (Array#length)
  • tabelo.de (Array.from) -- can someone help translate it better?
  • tabelo.da (Array.of) -- can someone help translate it better?
  • tabelo.estasTabelo (Array.isArray)

Example (TS)

import { tabelo } from '@localized/eo';
console.log(tabelo.unuigi(tabelo.interligi([tabelo.redukti(tabelo.mapi([1, 2, 3], i => i + 1), (a, b) => a + b)], [10, 11, 12]), ' & '));
// → "9 & 10 & 11 & 12"

Async (concurrent)

kunkura.tabelo

This is the concurrent async array object. It exposes 8 functions:

  • kunkura.tabelo.ĉiu (Array#every)
  • kunkura.tabelo.filtri (Array#filter)
  • kunkura.tabelo.trovi (Array#find)
  • kunkura.tabelo.troviIndekso (Array#findIndex)
  • kunkura.tabelo.plataMapi (Array#flatMap)
  • kunkura.tabelo.porĈiu (Array#forEach)
  • kunkura.tabelo.mapi (Array#map)
  • kunkura.tabelo.kelke (Array#some)

The corresponding Array methods are not one to one, as the higher-order functions should return a Promise.

Async (sequential)

lauviĉa.tabelo

This is the sequential async array object. It exposes 10 functions:

  • lauviĉa.tabelo.ĉiu (Array#every)
  • kunkura.tabelo.filtri (Array#filter)
  • kunkura.tabelo.trovi (Array#find)
  • kunkura.tabelo.troviIndekso (Array#findIndex)
  • kunkura.tabelo.plataMapi (Array#flatMap)
  • kunkura.tabelo.porĈiu (Array#forEach)
  • kunkura.tabelo.mapi (Array#map)
  • kunkura.tabelo.redukti (Array#reduce)
  • kunkura.tabelo.dekstraRedukti (Array#reduceRight)
  • kunkura.tabelo.kelke (Array#some)

The corresponding Array methods are not one to one, as the higher-order functions should return a Promise.

Usage notes

This package supports x-notation, so for example ĉ can be replaced with cx (eg tabelo.cxiu())

Contributions

Mi estas komencanta esperantisto, so if you can help translate I appreciate! If you instead want to add a function, check the core package doc.

License

MIT