🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

alphonsus

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alphonsus

Gere nomes poéticos e aleatórios.

0.2.6
latest
Source
npm
Version published
Maintainers
1
Created
Source

alphonsus

Gere nomes poéticos e aleatórios

Instalação

npm install alphonsus

Uso

var alphonsus = require("alphonsus");

// uso normal
alphonsus() // => "clareira-tímida-5150"

// tamanho customizado (padrão=4)
alphonsus({tokenLength: 6}) // => "disco-divino-457821"

// use hex ao invés de números
alphonsus({tokenHex: true}) // => "barco-jovem-fccf"

// use caracteres customizados ao invés de números/hex
alphonsus({tokenChars: "castidade"}) // => "campo-rude-aesa"

// não incluir um token
alphonsus({tokenLength: 0}) // => "arte-desconhecida"

// use um delimitador diferente
alphonsus({delimiter: "*"}) // => "poeira*pura*4521"

// sem token, delimitado por espaços
alphonsus({tokenLength: 0, delimiter: " "}) // => "brilho quieto"

// sem token, delimitador vazio
alphonsus({tokenLength: 0, delimiter: ""}) // => "montanhaelegante"

Opções

As seguintes opções estão disponíveis:

alphonsus({
  delimiter: "-",
  tokenLength: 4,
  tokenHex: false,
  tokenChars: "0123456789"
});

Keywords

poesia

FAQs

Package last updated on 21 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts