Indmind Blog

Hello World! Welcome to my personal Blog! This page is under construction

Rata

Tidy up your string list https://github.com/indmind/rata
2018-03-09 Project Indmind

Installation

$ npm install rata

Usage

const rata = require('rata')

const data = [
    ["eat", "eat some apples"],
    ["play", "play some music"],
    ["cry", "crying about your life"],
    ["makemehappy", "make happy!"]
]

console.log(rata(data))
eat         eat some apples
play        play some music
cry         crying about your life
makemehappy make happy!
const rata = require('rata')

const data = [
    ["eat", "eat some apples"],
    ["play", "play some music"],
    ["cry", "crying about your life"],
    ["makemehappy", "make happy!"]
]

console.log(rata(data, ' - '))
eat         - eat some apples
play        - play some music
cry         - crying about your life
makemehappy - make happy!
comments powered by Disqus