Skip to content

sashak007/symbolIpsum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symbolIpsum

Build Status

Coverage Status

Synopsis

Symbol Ipsum is a text generator that handles utf-8 characters, including accented and special character. I've included two word lists: rendered accented characters and symbols as well as entity encoded characters.

Usage

Node.js

var symbolIpsum = require('symbolIpsum');

var text = symbolIpsum.words(6,'symbols'); // atkvæði, d’état, ¿cómo?, benåde, fußgängerübergänge, Σ
var sentence = symbolIpsum.sentences(7,14,2,'entities'); // outputs two sentences between seven to 14 words each with the entity encoding.
var paragraph  = symbolIpsum.paragraphs(7,14,5,3,'symbols'); // outputs three paragraphs with five sentences between seven to 14 words each with rendered symbols.

Motivation

There's some great text generator packages out there but I've found that they only provide ASCII alphanumeric values. For testing purposes this isn't ideal and there's a need for more comprehensive data, my goal with this module is to provide dummy data with accented character and other special characters specific to unicode.

Installation

npm install symbol-ipsum

Tests

npm test

License

symbolIpsum copyright (c) 2015 Natasha Dykes

This software is hereby granted, free of charge, to any person interested. Software is 'AS IS', I absolve any liability for damages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published