Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@adobe/cq-spa-component-mapping
Advanced tools
* [Installation](#installation) * [Usage](#usage) * [API](#api) * [Documentation](#documentation) * [Changelog](#changelog)
The package has been moved. Please use @adobe/aem-spa-component-mapping
npm install @adobe/cq-spa-component-mapping
This module provides helpers to map resource types with SPA components.
The MapTo
helper can be used to directly associate resource type(s) with a given SPA component.
import { MapTo } from '@adobe/spa-component-mapping';
class MyComponent {
...
}
export default MapTo('my/resource/type')(MyComponent);
The technical documentation is already available, but if you are unable to solve your problem or you found a bug you can always contact us and ask for help!
Public release of cq-spa-component-mapping
Initial public release of cq-spa-component-mapping, which provides:
MapTo
helper to map JS components with AEM resource typesComponentMapping
singleton to interact with the existing mappingsFAQs
* [Installation](#installation) * [Usage](#usage) * [API](#api) * [Documentation](#documentation) * [Changelog](#changelog)
The npm package @adobe/cq-spa-component-mapping receives a total of 1,029 weekly downloads. As such, @adobe/cq-spa-component-mapping popularity was classified as popular.
We found that @adobe/cq-spa-component-mapping demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 79 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.