---
title: "Discussion on \"How to Protect a Node.js Package Before You Distribute It\" | Hashnode"
description: "Discussion on \"How to Protect a Node.js Package Before You Distribute It\". Shipping Node.js code to customers is different from deploying it to your own server. On your server, nobody can read node_modules or your src folder. The moment you hand over an npm tarball, a CLI, a"
url: "https://hashnode.com/posts/how-to-protect-a-node-js-package-before-you-distribute-it/6af3da95d8f5a8976c220b3a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Protect a Node.js Package Before You Distribute It](https://veilvm.hashnode.dev/how-to-protect-a-node-js-package-before-you-distribute-it?utm_source=hashnode&utm_medium=feed)

Shipping Node.js code to customers is different from deploying it to your own server. On your server, nobody can read node\_modules or your src folder. The moment you hand over an npm tarball, a CLI, a

6d ago · 7 min read · veilvm.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#security](https://hashnode.com/tag/security)
-   [#npm](https://hashnode.com/tag/npm)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[VEILVM](https://hashnode.com/@veilvm)

@veilvm

  
[View profile](https://hashnode.com/@veilvm)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
