@ondc-ui/dictionary

1.1.0 • Public • Published

ONDC Token

A dictionary token package for the ONDC design system. This package contains various JSON files representing structured data for use within the ONDC design ecosystem.

Features

  • Provides JSON files for various aspects of the ONDC design system.
  • Easy to integrate into projects.
  • Well-structured and standardized data representation.

Included Files

The package includes the following JSON files:

  • payment.json: Payment-related configurations.
  • privacy.json: Privacy-related data.
  • security.json: Security-related configurations.
  • shop.json: Shop-related data.
  • time.json: Time-related information.
  • token.json: Token definitions.
  • ui.json: UI-specific configurations.

Installation

To install the package, use npm:

npm install @ondc-ui/dictionary

Usage

Import and use the JSON files in your project:

// Import a specific JSON file
const tokenData = require('@ondc-ui/dictionary');

console.log(tokenData);

You can also access other JSON files similarly by specifying the file name.

Development

This package is part of the ONDC design system workspace (ondc-ui). Contributions and improvements are welcome.

Testing Locally

To test the package before publishing:

  1. Run the following command to pack the module:
    npm pack
  2. Verify the contents of the .tgz file.

Author

Pratik Sharma
Email
GitHub - @biomathcode

License

This package is licensed under the MIT License. See the LICENSE file for details.

Readme

Keywords

none

Package Sidebar

Install

npm i @ondc-ui/dictionary

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

168 kB

Total Files

12

Last publish

Collaborators

  • biomathcode