CyberSource / CyberSource/cybersource-rest-client-node

Support for UMD or ESM modules to load the library from the browser.

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
49
Forks
50
Avg merge
18m
Merged PRs (30d)
2

Description

Is it possible to add support to UMD or ESM format modules? Currently the supported format is AMD. Is there any other way to load the cybersource-rest-client in the browser? perhaps using something similar to:

`javascript importar {cybersourceRestApi} desde 'cybersource-rest-client'; `

I need to make a library that I choose from among several tools to make payments, and one of them is cybersource-rest-client, from the browser.

any idea?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the library's current AMD packaging and the browser-loading entry points. Compare the existing distribution setup with the requested UMD and ESM formats, then identify how browser consumers would import the client. Done means the library can be loaded in a browser through a supported requested format and the usage path is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.