Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion npm/npm-publish-github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Really the three most important keys here are `"name"`, which needs to be a uniq

All that's needed now is that `index.js` file - and optionally the `README.md` and `LICENSE` files if we want to include them in the package. The `README.md` ends up displayed on the NPM listing page so it's worth including.

Here's my [index.js](https://github.com/simonw/prompts-js/blob/main/index.js) file. It starts and ends like this (an [IFFE](https://developer.mozilla.org/en-US/docs/Glossary/IIFE)):
Here's my [index.js](https://github.com/simonw/prompts-js/blob/main/index.js) file. It starts and ends like this (an [IIFE](https://developer.mozilla.org/en-US/docs/Glossary/IIFE)):

```javascript
const Prompts = (function () {
Expand Down