@papit/information
v0.0.4
Published
Quite an abstract package to collect package information about other packages
Downloads
624
Maintainers
Readme
@papit/information
Quite an abstract package to collect package information about other packages
installation
npm install @papit/informationExample
import { PackageGraph } from "@papit/information";
(async function () {
const node = PackageGraph.get("@papit/html")!;
const remote = await node.remote();
console.log({
name: node.name,
children: node.descendants().map((a) => a.name),
parents: node.ancestors().map((a) => a.name),
remote,
});
})();Contributing
Contributions are welcome! Please follow the development guidelines above and ensure all tests pass before submitting a pull request.
License
Licensed under the @Papit License 1.0 - Copyright (c) 2024 Henry Pap (@onkelhoy)
Key points:
- ✅ Free to use in commercial projects
- ✅ Free to modify and distribute
- ✅ Attribution required
- ❌ Cannot resell the component itself as a standalone product
See the LICENSE file for full details.
Support
For issues, questions, or contributions, please visit the GitHub repository.
