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 🙏

© 2026 – Pkg Stats / Ryan Hefner

etext

v1.1.7

Published

Превратите обычный текст в смайлики

Readme

EText

Преобразуйте скучный текст в замечательные смайлики

Этот пакет был сделан просто для удовольствия. Я ВКонтакте

Установка

npm install --save EText

Испольование

const EText = require('EText');

EText({ bg: 'ᅠ', fg: '❤' }, 'ho1ly') //>
ᅠᅠᅠᅠᅠᅠᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠ❤❤❤❤❤ᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠᅠ❤❤❤ᅠᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠᅠ❤❤❤ᅠᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠᅠᅠ❤ᅠᅠᅠ
// ᅠᅠ❤❤ᅠᅠᅠ
// ᅠᅠᅠ❤ᅠᅠᅠ
// ᅠᅠᅠ❤ᅠᅠᅠ
// ᅠᅠᅠ❤ᅠᅠᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠ❤ᅠᅠᅠᅠᅠ
// ᅠ❤ᅠᅠᅠᅠᅠ
// ᅠ❤ᅠᅠᅠᅠᅠ
// ᅠ❤ᅠᅠᅠᅠᅠ
// ᅠ❤❤❤❤❤ᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠᅠ❤ᅠ❤ᅠᅠ
// ᅠᅠᅠ❤ᅠᅠᅠ
// ᅠᅠᅠ❤ᅠᅠᅠ
// ᅠᅠᅠ❤ᅠᅠᅠ
// ᅠᅠᅠᅠᅠᅠᅠ

По умолчанию эта функция является каррированной. Это означает, что вы можете подготовить настройки и использовать функцию результата следующим образом:

const EText = require('EText')

const text = EText({
  background: 'ᅠ',
  foreground: '❤',
  row: true
})

text('ho1ly') //>
// ᅠᅠᅠᅠᅠᅠᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠᅠᅠ❤❤❤ᅠᅠᅠᅠᅠ❤ᅠᅠᅠᅠ❤ᅠᅠᅠᅠᅠᅠ❤ᅠᅠᅠ❤ᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠᅠ❤ᅠᅠᅠ❤ᅠᅠᅠ❤❤ᅠᅠᅠᅠ❤ᅠᅠᅠᅠᅠᅠᅠ❤ᅠ❤ᅠᅠ
// ᅠ❤❤❤❤❤ᅠᅠ❤ᅠᅠᅠ❤ᅠᅠᅠᅠ❤ᅠᅠᅠᅠ❤ᅠᅠᅠᅠᅠᅠᅠᅠ❤ᅠᅠᅠ
// ᅠ❤ᅠᅠᅠ❤ᅠᅠ❤ᅠᅠᅠ❤ᅠᅠᅠᅠ❤ᅠᅠᅠᅠ❤ᅠᅠᅠᅠᅠᅠᅠᅠ❤ᅠᅠᅠ
// ᅠ❤ᅠᅠᅠ❤ ᅠᅠ ❤❤❤ᅠᅠᅠᅠᅠ❤ᅠᅠᅠᅠ❤❤❤❤❤ᅠᅠᅠᅠ❤ᅠᅠᅠ

API

EText(options, input)

Возвращает строку, которая генерируется на основе ввода и предоставленных опций. Если input не указан, то он вернет функцию, которая принимает input.

Опции

Required
Объект с опциями

Фон

Type: String
Default: 0

Символ, который будет фоном для текста. Псевдоним: bg (background имеет более высокий приоритет, чем "bg").

Передний план

Type: String
Default: 1

Символ, который будет фоном в виде текста. Псевдоним: fg (foreground имеет более высокий приоритет, чем "fg").

Ряд

Type: Boolean
Default: false

Визуализировать текст в строке или нет.

Словарь

Type: Object
Default: корневая директория

Ввод

Required
Type: String

Текст, который будет отображаться в виде смайликов.

Лицензия

MIT © Sergey Volkov