1.0.1 • Published 8 months ago
ember-related-files v1.0.1
Ember Related Files
This npm package helps you find related files in an Ember.js project. It supports various Ember file structures, including pod components, colocation components, and classic components.
Installation
To install the package, run:
npm install ember-related-files
Example
import { emberRelatedFiles } from 'ember-related-files';
emberRelatedFiles('app/components/my-component.js').then((relatedFiles) => {
relatedFiles.forEach(file => {
console.log(`${file.label}: ${file.path}`);
});
});
License
This project is licensed under the MIT License - see the LICENSE file for details.