Improve regex, pattern match, and deploy

Make pattern match less strict (to match more message types), add `node` engine and more info to `package.json`, and clean up `extractId` regex.