Skip to content

72636c/hyperspaced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

H Y P E R S P A C E D

Build Status Latest Release GoDoc Go Report Card

Utilities to improve the aesthetics of your favourite phrases with automatic space insertion (ASI).

Usage

CLI

$ echo 'AESTHETIC' | spaced
A E S T H E T I C

$ echo 'AESTHETIC' | spaced 2 lower
a  e  s  t  h  e  t  i  c

Go

import (
  "github.com/72636c/hyperspaced"
)

hyperspaced.One("AESTHETIC")
// A E S T H E T I C

hyperspaced.LowerN("AESTHETIC", 2)
// a  e  s  t  h  e  t  i  c

Meta

CI/CD pipeline

Builds and releases are automated with Drone, which is impressively "powered by blazing fast bare-metal servers", and more importantly "written in Go".

Local scripts

./scripts/build-package.sh
./scripts/lint-test.sh

Mouseprint

This is a shameless rip-off of https://www.npmjs.com/package/letter-spacing.