You can now view the content of a package with the updated code explorer directly on the npmjs.com portal. We have improved the reliability, performance and have now made this feature available for free. You no more need to download a package to view its content. With this feature, you can easily scrutinise packages to make sure it is safe for use in your application. The code explorer provides syntax highlighting for .js
, .ts
, .md
, .json
and other commonly used file types in npm packages. You can also view the content of any previous version of a package.
Start by exploring the npm package.