stemr package provides a javascript (TypeScript) implementation of the Snowball English (porter2) stemmer algorithm.
stemr
import { stem } from "stemr"; stem("stemming"); // => "stem"