Skip to content

Commit

Permalink
Remove <div class="note"> which breaks formatting (npm#460)
Browse files Browse the repository at this point in the history
* Remove <div class="note"> which broke formatting

* Update about-packages-and-modules.mdx

---------

Co-authored-by: Monish Chandra Mohan <[email protected]>
  • Loading branch information
0liver and monishcm authored Mar 8, 2023
1 parent 012ba80 commit 15c9ca7
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ To be loaded by the Node.js `require()` function, a module must be one of the fo
* A folder with a `package.json` file containing a `"main"` field.
* A JavaScript file.

<div class="note">
<Note>

<span class="bold">**Note:** </span>
Since modules are not required to have a `package.json` file, not all modules are packages. Only modules that have a `package.json` file are also packages.
**Note:** Since modules are not required to have a `package.json` file, not all modules are packages. Only modules that have a `package.json` file are also packages.

</div>
</Note>

In the context of a Node program, the `module` is also the thing that
was loaded *from* a file. For example, in the following program:
Expand Down

0 comments on commit 15c9ca7

Please sign in to comment.