npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sap-ux/generator-odata-downloader

v0.0.9

Published

Yeoman generator that supports download of app data, typically for mock data server use.

Readme

Changelog Github repo

@sap-ux/generator-odata-downloader

Yeoman generator that downloads OData V4 entity data from a backend service for use with the mock data server. This enables developers to work with realistic data during local development without needing a live backend connection.

Features

  • Downloads entity data based on the application's Fiori Elements configuration (from @sap/ux-specification)
  • Automatically detects related entities from navigation properties
  • Supports value help and external service data downloads
  • Filters data using semantic keys with range support (e.g., 1-10, A,B,C)
  • Writes data to JSON files compatible with the UI5 mock data server
  • Optionally updates local metadata files from the remote service
  • Automatically configures mock server settings for external service references

Requirements

  • Node.js >= 20.x
  • OData V4 service (V2 is not supported)
  • Valid SAP Fiori Elements application with manifest.json

Usage

With Yeoman

yo @sap-ux/generator-odata-downloader

Prompts

The generator guides users through the following steps:

  1. Application Selection - Browse and select the SAP Fiori Elements application folder
  2. System Selection - Choose the backend system (from saved systems or service destinations)
  3. Service Selection - Select the OData service to connect to
  4. Update Metadata - Optionally update the local metadata.xml from the remote service
  5. Skip Data Download - Option to skip entity data download (useful for metadata-only updates)
  6. Key Filters - Enter values for semantic keys to filter the downloaded data (supports ranges like 1-10 and lists like A,B,C)
  7. Toggle Selection - Reset or restore default entity selections
  8. Related Entity Selection - Select which related entities (navigation properties) to include
  9. Value Help Selection - Optionally download value help data for dropdown fields

Output

The generator writes JSON files to the application's mock data directory (determined from ui5-mock.yaml or defaults to webapp/localService/mockdata/):

webapp/
└── localService/
    ├── mainService/
    │   └── metadata.xml          # Updated if requested
    └── mockdata/
        ├── MainEntity.json
        ├── RelatedEntity1.json
        ├── RelatedEntity2.json
        └── ...

For value help data, the generator also:

  • Writes external service metadata and data files
  • Updates ui5-mock.yaml with resolveExternalServiceReferences configuration

Dependencies

This generator relies on several SAP UX Tools packages:

  • @sap-ux/odata-service-inquirer - System and service selection prompts
  • @sap-ux/project-access - Application file system access and mock server configuration
  • @sap-ux/axios-extension - Backend service communication
  • @sap-ux/annotation-converter - OData metadata parsing
  • @sap-ux/odata-service-writer - External service metadata writing
  • @sap-ux/mockserver-config-writer - Mock server configuration updates
  • @sap/ux-specification - Fiori Elements specification parsing

License

Read License.

Keywords

SAP Fiori, SAP Fiori tools, OData, Mock Data, Yeoman Generator