SEO npm package: why it is important to properly configure the config and write tests

I recently published an article about my CLI for React Components, which became the first public npm package for me. And since I wanted to share my best practices with as many developers as possible, I began to explore different ways to improve my position in search results on various specialized sites. In an attempt to improve my position, I relied on searching in npm , yarn and npms . And if you now open the page of my package in any of these three sites, the results there will, unfortunately, be quite modest and I will try to explain why and speculate on this topic.

Popularity, quality, maintainance

npm , : popularity, quality maintainance. - - - .

Popularity , , . npms.

popularity , . Quality , maintainance. , . , . , , , issue . , npms 100%, , npm 33%. , . , , 33%, . React .

Popularity , maintainance , quality? . CLI js . , Typescript , . , 20%. 61% , . , , , , .

:

  1. . ESLint, TSLint .

  2. readme.md changelog.md

  3. .editorconfig , - . .

  4. github Travis .travis.yml. , . , CLI Linux Windows , Travis Linux , , .

  5. , package.json. , , .

. , . , npm 61%, 49%, , . nmps , 96%. , , , , , , .

PR

, , , , - . npm, : 1, 2, 3,... 21. - ?

, , . yarn, , , readme. reddit . , , - 20-30 . , , ยซยป. , , . , - , , 150 , , . index , , , . , , , - yarn. . , - description package.json. , , - , , - . +200 , . , yarn 23 - , , , , .

, , , , , PR - . , issue , . , . , , .

- , github , - , . , - , . - , - .

, , . , - , . , - , . - .

- , - . - , , , , 15 . , , , github.

, 150 , , - , - 200 issue.

- npm- , , . , , , , - , - , - , , .




All Articles