Reference valence as a NPM package