Giter VIP home page Giter VIP logo

random-words's People

Contributors

dependabot[bot] avatar milospaunovic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

random-words's Issues

Minify dictionary files to reduce footprint

Is your feature request related to a problem? Please describe.
Current package size, according to npm, is 9.59MB, which is significant.

Describe the solution you'd like
If the language files are minified, the size will be reduced, which will boost performance.

Add English to list of supported languages

Is your feature request related to a problem? Please describe.
It would be great to have more languages offered for random word generation.

Describe the solution you'd like
Adding English as the most spoken language in the world.

TypeScript bug

Describe the bug
when i import initialize from @paunovic/random-words could not find a declaration type, so its give me a error of 'any' type.
i tried to install @types/paunovic__random-words but the error continues.

To Reproduce
Steps to reproduce the behavior:

  1. import { initialize } from '@paunovic/random-words'

Screenshots
image

Static documentation page

Is your feature request related to a problem? Please describe.
There should be a GH pages powered static documentation page which could be helpful for someone exploring the library.

Describe the solution you'd like
Consider VuePress and VitePress.

Improve documentation

Describe the solution you'd like

  • Every single method should have it's own Markdown subheading so it could be easily tracked down by contents list on the top.
  • Include Codepen examples to every method, as well.
  • Add workflow badges to the README.md file.

Setting default language

Is your feature request related to a problem? Please describe.
There should be a default language pack selected if none is provided as an argument to initialize method.

Describe the solution you'd like
English should be passed as the default argument.

Run workflow tests only on PRs

Is your feature request related to a problem? Please describe.
The tests should be ran on PRs, instead of new tag creation.

Feature Request: allow user or developer to pre-select the level or complexity of the words

I love your script, the issue I have is this...

I am an English as a Second Language Teacher and the words your script generates are very uncommon in usage for my students.

Can you have a feature that either for English and Spanish, the script can generate the random words, but at the same time, allow the developer or end user to select the level or complexity of the words?

Example:

LEVEL 1

blue, banana, crayon, book, computer

LEVEL 2

understand, excited, shy, temper

LEVEL 3

acquire, uncertain, robust, reveal, attain, unabridged

... and the same for Spanish or any other Language

Hope you like this idea.

Hugo Barbosa

Publishing on new tag creation

Describe the solution you'd like
Improve publishing process on npm by creating a workflow script which will do it every time new tag is pushed to the repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.