Can you explain the process of creating an npm package?

Free for the first 3 answer contributors

Interview question asked to Frontend Engineers interviewing at Freshworks, Electronic Arts, HPE and others: Can you explain the process of creating an npm package?.