{"componentChunkName":"component---content-packages-and-modules-contributing-packages-to-the-registry-creating-node-js-modules-mdx","path":"/creating-node-js-modules","result":{"pageContext":{"frontmatter":{"title":"Creating Node.js modules","redirect_from":["/getting-started/creating-node-modules"]},"mdxId":"fdcd1921-0305-52ea-8756-68aee89ea71e","themeOptions":{"plugins":[],"icon":"./src/images/npm-favicon.png","editOnGitHub":true,"showContributors":false,"showSidebarEditLink":false,"repo":{"url":"https://github.com/npm/documentation","defaultBranch":"main"}},"editUrl":"https://github.com/npm/documentation/edit/main/content/packages-and-modules/contributing-packages-to-the-registry/creating-node-js-modules.mdx","contributors":[],"tableOfContents":{"items":[{"url":"#overview","title":"Overview"},{"url":"#create-a-packagejson-file","title":"Create a package.json file"},{"url":"#create-the-file-that-will-be-loaded-when-your-module-is-required-by-another-application","title":"Create the file that will be loaded when your module is required by another application"},{"url":"#test-your-module","title":"Test your module"},{"url":"#resources","title":"Resources"}]}}},"staticQueryHashes":["2665939701","2665939701","4163176147","4163176147"]}