0.4.2 • Published 3 years ago

@xmarcos/enchinito v0.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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?

  1. The chinito1 meme is very popular in Argentina 🇦🇷.
  2. I make lots of memes.
  3. I try to automate repetitive tasks whenever I can.
  4. I needed an excuse to explore building —and publishing— modern node modules.
  5. I like lists with five items.

1 AKA mocking chinese boy.

0.4.1

3 years ago

0.4.0

3 years ago

0.4.2

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago