# @sap-ux/fe-fpm-writer

> SAP Fiori elements flexible programming model writer

Latest version **1.3.25** (published 2026-10-16) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @sap-ux/fe-fpm-writer
pnpm add @sap-ux/fe-fpm-writer
yarn add @sap-ux/fe-fpm-writer
bun add @sap-ux/fe-fpm-writer
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.3.25 |
| Published | 2026-10-16 |
| First published | 2021-11-04 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=22.x |
| Dependencies | 14 |
| Unpacked size | 465.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 159 |
| Maintainers | tqueck, kranthie.sap, sap_extncrepos, sap-ospo-admin, devinea |

## Links

- npm: https://www.npmjs.com/package/@sap-ux/fe-fpm-writer
- Repository: https://github.com/SAP/open-ux-tools
- Issues: https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Afe-fpm-writer
- npm.io page: https://npm.io/package/@sap-ux/fe-fpm-writer

## Dependencies (14)

- [ejs](https://npm.io/package/ejs.md) 3.1.10
- [xpath](https://npm.io/package/xpath.md) 0.0.34
- [mem-fs](https://npm.io/package/mem-fs.md) 2.1.0
- [semver](https://npm.io/package/semver.md) 7.8.5
- [i18next](https://npm.io/package/i18next.md) 26.3.6
- [@sap-ux/i18n](https://npm.io/package/@sap-ux/i18n.md) 1.0.6
- [mem-fs-editor](https://npm.io/package/mem-fs-editor.md) 9.4.0
- [xml-formatter](https://npm.io/package/xml-formatter.md) 3.7.0
- [@sap-ux/logger](https://npm.io/package/@sap-ux/logger.md) 1.0.3
- [@xmldom/xmldom](https://npm.io/package/@xmldom/xmldom.md) 0.9.12
- [@sap-ux/project-access](https://npm.io/package/@sap-ux/project-access.md) 2.3.1
- [@sap-ux/vocabularies-types](https://npm.io/package/@sap-ux/vocabularies-types.md) 0.16.0
- [@sap-ux/annotation-converter](https://npm.io/package/@sap-ux/annotation-converter.md) 0.10.22
- [@sap-ux/fiori-annotation-api](https://npm.io/package/@sap-ux/fiori-annotation-api.md) 1.1.4

## Recent versions

- 1.3.25 (latest) — 2026-10-16
- 1.3.24 — 2026-10-14
- 1.3.23 — 2026-10-13
- 1.3.22 — 2026-10-08
- 1.3.21 — 2026-10-08
- 1.3.20 — 2026-10-06
- 1.3.19 — 2026-09-22
- 1.3.18 — 2026-09-11
- 1.3.17 — 2026-08-27
- 1.3.16 — 2026-08-25
- 1.3.15 — 2026-08-25
- 1.3.14 — 2026-08-19
- 1.3.13 — 2026-08-06
- 1.3.11 — 2026-08-05
- 1.3.10 — 2026-08-03
- … 356 more at https://npm.io/package/@sap-ux/fe-fpm-writer/versions

## README

[![Changelog](https://img.shields.io/badge/changelog-8A2BE2)](https://github.com/SAP/open-ux-tools/blob/main/packages/fe-fpm-writer/CHANGELOG.md) [![Github repo](https://img.shields.io/badge/github-repo-blue)](https://github.com/SAP/open-ux-tools/tree/main/packages/fe-fpm-writer)

# [`@sap-ux/fe-fpm-writer`](https://github.com/SAP/open-ux-tools/tree/main/packages/fe-fpm-writer)

Generates elements defined in the Fiori elements for OData v4 flexible programming model into Fiori elements applications


## Installation
Npm
`npm install --save @sap-ux/fe-fpm-writer`

Yarn
`yarn add @sap-ux/fe-fpm-writer`

Pnpm
`pnpm add @sap-ux/fe-fpm-writer`

## Usage
```Typescript
import { generate } from '@sap-ux/fe-fpm-writer';
import { join } from 'path';

const projectDir = join(__dirname, 'test/test-input/basic-lrop');
const fs = await generateCustomPage(
    targetPath,
    {
        name: 'MyCustomPage',
        entity: 'Booking',
        navigation: {
            sourcePage: 'TravelObjectPage',
            navEntity: '_Booking'
        }
});

fs.commit();

```
See more complex example in [`/test/integration/index.test.ts`](./test/integration/index.test.ts)
## Keywords
SAP Fiori elements

---
_Source: https://npm.io/package/@sap-ux/fe-fpm-writer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
