0.4.2 • Published 3 years ago
@xmarcos/enchinito v0.4.2
enChinito
Say it en chinito.
.-=+**********+=-:.
:=*###################*+-.
.+##########################*=:
:###%%%%%%%%%%%%%%%%%%##########*-
:##%%%%%%%%%%%%%%%%%%%%%%%%########*:
*%%%%%%%%%%####%%%%%%%%%%%%%%%%%#####+
:%%%%%@%%############%###%%%%%%%%%%%%##*
+%%%%@%%%##########***+=*#%%%%%%%%%%%%%#*
+%%@@%%*++++**##*+++++==*###%%%%%%%%%%%%%-
=%%@@%+-----==+===++++***#%%#%%%%%%%%%%%%*
.%%%%*-:-==**+====++=--=+#%%#%%%%%%%%%%%%#
+%%#=-::--==-----=+++=-=+#%#%%%%%%%%%%%%+
+%*-------::::---==+++==+**%%%%@%%%%%%%.
-+---=====--==--------==++%%%%@%%%%%%:
--===+=-=++*++=-----==++*%%%%@%%%%#:
=--=+=---==========++++*%%%##@%%%=
:===-=++**++======+++++#%%##%%%+.
.==---===++++======+++##*#%%*-
.#+---==+++=======++*#%#*=:
##*=---======+++++*%-
..::-==++++******+:.
..-=+*###****=.
.. .. . :--=-..
... ::-:..++-====: =- ..
:. :.::::: . :---: .:=****+::. =-:=-
:-:---=====- -==. ... ::. .***. ..: . :=::
==-===++=-- --- ..::::-++*: :=: . =-:.::-=-
===++=++=--: --- :-+++++. :-. . :====--=.
:+=--------- . . --- :+++++: .--.. +===--.
-===------: . . -=- .+**++- .-=:.:. .-==--:
:=++==--: . .. -==. -+++++= :=+-:::. .:---
-+===-. .. . . -==. =++++++: :=++:..:. .:
-===-. ... :==. +++****=-..-==-::... ... .
--=-.... .-:. .==. ...... .+**###=:==:===.:-..... .. ..
::.... .. .. .-. =+. .-***###- .=====:::....... ....
::::........:-..: :+. =*##***=. =+==: .......
.-::::::...::-::::.... :+. .+*#****= :=++==:...........:
::--....:::-::::=++++++=-:. .:*####*#=:+==--==-:...:.....
.:++:::--:::::+*++++*##*+++=-:..-*#*#***+++++:-*===-::::.
.:--------=:+*++*++++++++++****##==-=*##*****#*+=--..
.::--=-==-++++++++**+++++****##=-++####*******==-:..
..:::++*+++++***+*+++**##*==+##*+++++****#+=--:.::..
-++++++*+**********########*+++=+++++*+==-::. .:::..
Installation
yarn add @xmarcos/enchinito
# or
npm i @xmarcos/enchinito
Usage
import { enchinito } from '@xmarcos/enchinito';
console.log(
enChinito('@xmarcos/enchinito is a useless node package')
);
// @xmircis/inchiniti is i isiliss nidi pickigi
A CommonJS version is also available:
const { enChinito } = require('@xmarcos/enchinito');
console.log(
enChinito('No me gustan los ES modules')
);
// Ni mi gistin lis IS midilis
The module exports three functions, they all do the same.
export function enChinito(text: string): string;
export function enchinito(text: string): string;
export function inchiniti(text: string): string;
CLI
There is a command line wrapper that you can install globally with:
yarn global add @xmarcos/enchinito
# or
npm install --global @xmarcos/enchinito
and use it like:
enchinito "Sudo make me a sandwich"
#Sidi miki mi i sindwich
echo "killall -9 vim" | enchinito | figlet -f doom
# _ _ _ _ _ _ _ _____ _
# | | (_) | (_) | | | _ | (_)
# | | ___| | |_| | | ______| |_| | __ ___ _ __ ___
# | |/ / | | | | | | |______\____ | \ \ / / | '_ ` _ \
# | <| | | | | | | .___/ / \ V /| | | | | | |
# |_|\_\_|_|_|_|_|_| \____/ \_/ |_|_| |_| |_|
But why?
- The chinito1 meme is very popular in Argentina 🇦🇷.
- I make lots of memes.
- I try to automate repetitive tasks whenever I can.
- I needed an excuse to explore building —and publishing— modern node modules.
- I like lists with five items.
1 AKA mocking chinese boy. ⏎