contentspinner

0.1.0 • Public • Published

contentspinner

npm version Build Status

Roll different text variants from a base text. This technique (article text spinning) has its roots in SEO (not recommended for this) but can be used for many purposes, e.g.: personalized greetings.

example

spincontent("{hello|hi} {world|universe{s|}}")

Will return one of:

  • hello world
  • hello worlds
  • hello universe
  • hello universes
  • hi world
  • hi worlds
  • hi universe
  • hi universes

Readme

Keywords

Package Sidebar

Install

npm i contentspinner

Weekly Downloads

5

Version

0.1.0

License

none

Last publish

Collaborators

  • yousefed