![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
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.
An opinionated - yet flexible - front end development framework for use with Adobe Experience Manager
Iron (Fe) is an opinionated yet flexible FrontEnd development framework
We want Iron to be a foundation for projects. Like all foundations it is a place to start but a foundation is just a begining. There can be many directions you can go after you have a firm foundation. We want to give front end developers who work with AEM access to the same tools that we have when working outside AEM. Iron makes a few decisions for you.
npm install -g iron-fe
Iron can be used in your build tools. The API is a set of functions to access the data that is held and created by Iron's generator.
npm install iron-fe --save-dev
The API is split into sections by the type of asset you want to work with. Currently there are two such assets, Client Libraries and Components
var iron = require('iron-fe');
Iron.clientlibraries is a set of functions that helps you minipulate and build the client libraries.
Match takes a file path of a component and will return an array of all client libraries that have that component as a dependency. This function might be used to match the changed file, from a build watcher such has gulp or grunt watch, with the correct client library to compile.
var iron = require('iron-fe');
var matchedLibrariesArray = iron.clientlibraries.match( '/path/to/my/component' );
/* matchedLibrariesArray =>
[
{
"name": "about",
"aemPath": "path/to/jcr_root/etc/clientlibs/project/about",
"entry": "client-libraries/about/about.js",
"components": [
{
"name": "global",
"isADefault": false,
"clientlibraries": [
"about",
"aboutYou"
]
}
],
"defaultComponents": true,
"styleType": "scss"
}
]
*/
FAQs
An opinionated - yet flexible - front end development framework for use with Adobe Experience Manager
The npm package iron-fe receives a total of 40 weekly downloads. As such, iron-fe popularity was classified as not popular.
We found that iron-fe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.