Skip to content

bryanvanwijk/contentspinner

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%