How to make npm package?

My code wants to be

const alexa = require('@alexa/api');
const message = alexa(api).votes;

console.log(message);//It need to Print the values came from alexa(api).votes

How to do this in a NPM Package!

Hey @SudhanPlayz,

I suggest you take a look at this article which creates an npm package for starters: https://dev.to/therealdanvega/creating-your-first-npm-package-2ehf

2 Likes

Or you can take a look at the official website:
https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry

2 Likes

@khalby786
I just now Checked i dont get anything.

@RiversideRocks
I cant get my specific details there

What do you mean by that?

Acttually i just want to return a Message