Checks if the current module is the main executed module. Works with Bun, Deno and Node.js.
Installations
Developer Guide
Typescript
Yes
Module System
ESM
Min. Node Version
>=14
Node Version
20.18.0
NPM Version
10.8.2
Score
63.2
Supply Chain
94
Quality
77.9
Maintenance
100
Vulnerability
100
License
Contributors
Unable to fetch Contributors
Languages
JavaScript (89.63%)
TypeScript (10.37%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
prantlf
Download Statistics
Total Downloads
250
Last Day
1
Last Week
7
Last Month
25
Last Year
250
GitHub Statistics
MIT License
7 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Nov 10, 2024
Bundle Size
569.00 B
Minified
333.00 B
Minified + Gzipped
Package Meta Information
Latest Version
0.2.0
Package Id
js-main@0.2.0
Unpacked Size
5.43 kB
Size
2.44 kB
File Count
5
NPM Version
10.8.2
Node Version
20.18.0
Published on
Nov 10, 2024
Other packages similar to js-main
clamp-js-main
Clamp JS main (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too long.
@modern-js/main-doc
Documentation of modern.js framework
@modern-js/plugin-module-main-fields
The main fields plugin of Modern.js Module.
@thirdweb-dev/unity-js-bridge
<p align="center"> <br /> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <br /> </p> <h1 align="center">thirdweb Unity JS bridge</h1> <p align="center">