npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

How do go about making an NPM module that relies on a database?

So I made a library of sorts, its more like a self hosted REST API and I was wondering if packaging it as an npm module would make sense. The REST API stores data into a postgres database which is where is gets confusing for me because how would I ensure that its going to run on other machines that don’t have postgres installed? Speed Test Scrabble Word Finder