0.1.1 • Published 3 years ago
fun-animal-names v0.1.1
Fun Animal Names
This module hashes strings into fun animal names.
This project was scaffolded with TSDX.
import { funAnimalName } from 'fun-animal-names'
const name = funAnimalName('abc123')
console.log(name) // 'Perfect Duck'You can also specify the set of animal names and adjectives to use:
import { funAnimalName } from 'fun-animal-names'
const name = funAnimalName('abc123', {
adjectives: ['Happy'],
animalNames: ['Goldfish'],
})
console.log(name) // 'Happy Goldfish'Jest
You can verify functionality with:
npm run testBundle Analysis
size-limit is set up to calculate the real cost of the library with npm run size and visualize the bundle with npm run analyze.
Rollup
TSDX uses Rollup as a bundler and generates multiple rollup configs for various module formats and build settings. See Optimizations for details.
Continuous Integration
GitHub Actions
mainwhich installs deps w/ cache, lints, tests, and builds on all pushes against a Node and OS matrixsizewhich comments cost comparison of your library on every pull request usingsize-limit
License
MIT.
0.1.1
3 years ago