Basic plug-in dev help

I am trying out the basics of plug-in development.

I believe you can do npm init in a directory, then you need to do npm install obsidian.

I then tried just doing a basic require(‘obsidian’) statement at the start of a file, and I’ve gotten a bunch of errors about the package not being found.

Is there some standard way to set up an obsidian project that I don’t know of?