1.1.8 • Published 5 years ago

magicxer v1.1.8

Weekly downloads
5
License
CC0-1.0
Repository
github
Last release
5 years ago

magicxer

npm npm npm

Magical words mixer. Combines words from list into a list of clever mixes. You can check it out live at magicxer.magicznyleszek.xyz.

It also has some code for splitting words to syllables -- simple but imperfect solution for a surprisingly complex problem.

Usage

npm install magicxer --save
const magicxer = require("magicxer").magicxer;
return magicxer.mix("snow", "white");
// ["snowte", "snite", "sne", "snowhite", "shite", "ste"]
import { magicxer } from "magicxer";
magicxer.mix("snow", "white");

Technicalities

This is a small webapp project that I created to check out some fancy new tech:

  • Parcel
  • Vue.js
  • Jest
  • TypeScript
  • Prettier
  • 2 spaces indentation :-D
  • .editorconfig

Development

You probably want to watch tests: npm run test-watch.

Website

Change code at src and run Parceljs live server (localhost:2038): npm start.

Module

Change code at lib or src, run npm run build-module and use your local version in your other npm project.

Building

Development website outcome is in dev, production website is in docs^1 and module code is in dist.

Before commiting the changes, make sure to run npm run build-website or npm run build-module - depending on what part of the project you've worked on.

^1: We use docs directory, because Github Pages allows to serve only root or docs.

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.2

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago