{"ref":"content:how-to-use-npm-modules-like-crypto-js-in-sapui5-using-ui5-tooling-modules","page":"/content/how-to-use-npm-modules-like-crypto-js-in-sapui5-using-ui5-tooling-modules","json":"/content/how-to-use-npm-modules-like-crypto-js-in-sapui5-using-ui5-tooling-modules.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"how-to-use-npm-modules-like-crypto-js-in-sapui5-using-ui5-tooling-modules","title":"How to Use NPM Modules Like crypto-js in SAPUI5 Using UI5 Tooling Modules","url":"https://community.sap.com/t5/technology-blog-posts-by-members/how-to-use-npm-modules-like-crypto-js-in-sapui5-using-ui5-tooling-modules/ba-p/14170304","content_type":"blog","published_on":"source:sap-community","explains":["artifact:ui5-community-ui5-tooling-modules"],"summary":"Walks through adding [ui5-tooling-modules](artifact:ui5-community-ui5-tooling-modules) to a SAPUI5 project on UI5 Tooling v3: installing the npm package crypto-js alongside it, then wiring a `ui5-tooling-modules-task` builder task and a `ui5-tooling-modules-middleware` dev-server middleware into `ui5.yaml` so the UI5 module loader can resolve it. A controller then loads `crypto-js/sha256` through `sap.ui.define` and calls it like any other AMD dependency, with the stated limit that the pattern works only inside a controller or other AMD-style module, not through a top-level `import` or `require()`.","author":"DakshKumarSingh","published":"2025-09-04","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"business-application-studio-tag"},{"source":"source:sap-community","channel":"sapui5-tag"}],"first_seen":"2026-10-26"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 14 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-09-04"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":6990,"unit":"views"},{"value":4,"unit":"comments"},{"value":7,"unit":"likes"}]},"signals":{"views":6990,"likes":7,"comments":4,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}