project-markers
v1.1.0
Published
List of files that indicate a project root.
Maintainers
Readme
🏷️ project-markers
Common project root markers.
It's just a JSON file, so you can use it in any environment.
⚡ Installation
From your project root:
npm install project-markers🔌 Usage
ES Modules (ESM):
import projectMarkers from 'project-markers'
console.log(projectMarkers)
// => [ '.ansible-lint', '.bazelrc', '.browserslistrc', '.buckconfig', ... ]CommonJS (CJS):
const projectMarkers = require('project-markers')
console.log(projectMarkers)
// => [ '.ansible-lint', '.bazelrc', '.browserslistrc', '.buckconfig', ... ]The list includes hundreds of markers from many tools and ecosystems, including:
- Version control (.git, .hg, .svn)
- Python (pyproject.toml, setup.py, requirements.txt)
- JavaScript (package.json, yarn.lock, tsconfig.json)
- Docker/K8s (Dockerfile, docker-compose.yml)
- CI/CD (.github, .gitlab-ci.yml, Jenkinsfile)
MIT License
Copyright © 2026 Adam Lui
📦 Related
More JavaScript utilities / Discuss / Report bug / Report vulnerability / Back to top ↑
