Skip to content

indmind/rata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rata

Tidy up your string list

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!

About

Tidy up your string list (THIS IS ONLY WORK WITH MONOSPACE FONT)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published