What should you do when opensource package is not maintained anymore

package is not maintained anymore

Imagine you are using some npm or pip package and you feel it is outdated or it just says somewhere "is not maintained anymore". What should you do first - find out whether there is someone else who already started maintaining, let me show you how to do it ๐Ÿ˜‰

How to understand the package is not maintained anymore

First, find the page of the interesting package on the source code hosting website. I will consider [email protected] package for npm, I know that I am using exactly this package by package.json or package-lock.json file.

To find the opensource hosting page, first, we should find the package name on https://npmjs.com with the exact name.

NOTE: Name is very important when you try find a package sources pageโ˜. Please carefully follow the sequence otherwise you can mix up a packages an all your effort will be lost.

This happens very often Now look at Repository or Homepage: Here we see so "dead" package:

The first solution to try when "repo is not maintained anymore

The first solution to try when "repo is not maintained any more" Click on forks number: And find out the most popular fork. To understand popularity faster we might assume that a more popular fork will have more forks. So we should just find the longest fork chain:

Image for a hint

So we've found https://github.com/vusion/webfonts-generator by vusion which also re-published it to a new npm package:

npm install --save-dev vusion-webfonts-generator

Here how it works. In the worst case, you can fork a project and start maintaining it or just use it by yourself for your fixesโœŒ

#npm #pip #opensource
Bruce Hardy profile picture
Oct 25, 2020
by Bruce Hardy
Did it help you?
Yes !

Best related