๐ย I'm based in Berlin, Germany
๐ฅ๏ธย See my portfolio at arshadkazmi42.github.io
โ๏ธย You can contact me at [email protected]
My GitHub Stats
JS - Generates permutations of all sentences, using list of words :tada:
License: MIT License
๐ย I'm based in Berlin, Germany
๐ฅ๏ธย See my portfolio at arshadkazmi42.github.io
โ๏ธย You can contact me at [email protected]
My GitHub Stats
[![LICENSE](https://img.shields.io/npm/l/ak-phrase.svg)](https://github.com/arshadkazmi42/ak-phrase.js/LICENSE)
add above line in README.md with other badges
Add null input check condition in index.js generateSentences
Add description in package.json, which will be shown as short discription on npm
Generates all the permutations of sentences from words in a 2D array.
Add build badge at the top in readme.md
This is the url for build badge
https://api.travis-ci.org/arshadkazmi42/ak-phrase.js.svg?branch=master
The readme labels the wrong package name. The package name is ak-phrase
not ak-phrase.js
. You can check by running:
npm info ak-phrase.js
vs npm info ak-phrase
.
- $ npm install ak-phrasae.js
+ $ npm install ak-phrase
and
- const sentenceGenerator = require('ak-phrase.js');
+ const sentenceGenerator = require('ak-phrase');
This might also be a good chance to update the repo name to reflect the npm package name. Updating the docs count as a patch update: 1.0.3 -> 1.0.4
Add below downloads badge in readme with build badge
[![NPM Downloads](https://img.shields.io/npm/dt/ak-phrase.svg)](https://www.npmjs.com/package/ak-phrase)
[![NPM Version](https://img.shields.io/npm/v/ak-phrase.svg)](https://www.npmjs.com/package/ak-phrase)
Add above line in readme.md with other badges
Add GNU General Public License v3.0
license to the library
Add Contriutors avatar at bottom of the README.md file with title Contributors
Add the below code below the Contributors title
[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/images/0)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/links/0)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/images/1)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/links/1)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/images/2)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/links/2)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/images/3)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/links/3)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/images/4)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/links/4)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/images/5)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/links/5)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/images/6)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/links/6)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/images/7)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.js/links/7)
Create first timers issues for adding badges
[![Commit](https://img.shields.io/github/last-commit/arshadkazmi42/ak-phrase.js.svg)](https://github.com/arshadkazmi42/ak-phrase.js/commits/master)
adds commit badge
Edit the typo in Usage section of README.md
Wrong comments are added in index.js, that needs to be updated
We need to add eslint config to standardise the coding style
Noticed that generateSentences
is not exported by default. generateSentencePermutations
is already incorporated into generateSentences
, thus I don't know if users are going to use it, especially as it is not documented in the readme. If there's no reason for users to use generateSentencePermutations
function, then generateSentences
can be the sole function exported by default. This would also require a change to the readme in how generateSentences
is imported.
Add tests to test the functionality
Add travis.yml in for CI
The packages includes every single file/folder in the repo. Packages should be as lightweight as possible. In this case, the only files that should be packed and sent to npm registry is the index.js, license, readme, and package.json.
In package.json add:
"files": ["index.js"]
The other 3 files will be automatically packed by npm.
Remove buy me a coffee and become a patron badges with donation text from README
I want to point out that this readme is quite limiting because not all contributions have to be in the form of actual code, but also documentation, finding bugs, etc. Also I don't know about some of the steps:
git add --all
. This is dependent on how extensive the .gitignore file is. I think it should say only add the actual files you purposely created or modified by having them check with git status
first.This should be opened in it's own issue though.
Originally posted by @cdrani in #62 (comment)
Add PULL_REQUEST_TEMPLATE.md
file with below content
Fixes #
Remove all unused dependencies,
I think for this we are only using mocha
and chai
as devDependencies for tests.
All other dependencies can be removed from package.json
Run below command to verify all tests are passing
npm install (This will install all required dependencies)
npm test
I suppose this is meant to use yarn
from the yarn.lock
file.
Update readme with usage details and brief about library
Add CONTRIBUTING.md
file and add the content something like this
https://raw.githubusercontent.com/arshadkazmi42/ak-cli/master/CONTRIBUTING.md
Add a test in test file, similar to this test
https://github.com/arshadkazmi42/ak-phrase.js/blob/master/test/generate_sentence_permutations.js#L16-L20
In the new test
const wordLists = []
needs to be changed to const wordLists = null
everything else will be same.
Library needs to be published to NPM.
Change Contributing.md file to something like this
https://github.com/arshadkazmi42/custom-date-formatting/blob/master/CONTRIBUTING.md
[![Github Repo Size](https://img.shields.io/github/repo-size/arshadkazmi42/ak-phrase.js.svg)](https://github.com/arshadkazmi42/ak-phrase.js)
Add the above line in readme with other badges
Add below code with other badges code in README
[![Contributors](https://img.shields.io/github/contributors/arshadkazmi42/ak-phrase.js.svg)](https://github.com/arshadkazmi42/ak-phrase.js/graphs/contributors)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.