The npm package "tslint-no-toplevel-property-access" had only two releases, versions 0.0.1 and 0.0.2, in May 2019. Since then, there have been no further releases. From June 2019 to September 2025, the package has not been updated, indicating a period of inactivity.
tslint-no-toplevel-property-access is a TSLint rule that restricts accessing properties on imported modules at the top level of a file. This can help to prevent unexpected side effects and improve code maintainability by encouraging explicit initialization or delayed property access within functions or classes. This rule enforces a coding style where module properties are accessed only when needed, promoting better control and understanding of the codebase.
The npm package tslint-no-toplevel-property-access saw fluctuating downloads. Numbers increased significantly in late 2024, peaking in November. Early 2025 downloads remained high, with a notable spike in July. August 2025 saw a decrease, and September's downloads are incomplete as of September 8, 2025.