open-index/open-npm huggingface dataset:
npm package: @oraclecc/dcu
Description: Development tools for Oracle Commerce Cloud.
Latest version: 1.6.0

# Design Code Utility

This npm package provides scripts for aiding development and deployment
of storefront assets onto Oracle Commerce Cloud Admin servers.

## Usage

Install the module:

```$xslt
yarn add -D @oraclecc/dcu
```

Now you can use DCU in your CI/CD pipelines.

```$xslt
yarn dcu -v
```

Operations, grouped by general function, are split across four tools:

* DCU - Downloading (grabbing) and Uploading (putting) assets between
        a local folder on your development machine and a remote OCC Admin
        Node. Transfer of assets from a source node to a different
        destination node is supported, provided both nodes are running
        identical OCC versions.

* CCW - Creating new item types (Widgets, Stacks, Elements) which can be
        deployed as extensions to a remote OCC Admin Node.

* PLSU - Transferring page layouts from one remote OCC Admin Node to
         a different destination node.

* CCPROXY - Testing Storefront content changes prior to upload by using a
            local Storefront-aware proxy layer to substitute server content
            with locally modified files.
npm package: @oraclemart/contracts
Description: OracleMart smart contract ABIs and TypeScript types for Sepolia testnet
Author: OracleMart Team
Latest version: 1.0.1

# @oraclemart/contracts

Official OracleMart smart contract ABIs and TypeScript types for easy integration.

## Installation

```bash
npm install @oraclemart/contracts viem
```

## Usage

### With Viem (Recommended)

```typescript
import { getCoreMarketConfig, SEPOLIA_CHAIN_ID } from '@oraclemart/contracts';
import { createPublicClient, http } from 'viem';
import { sepolia } from 'viem/chains';

const client = createPublicClient({
  chain: sepolia,
  transport: http(),
});

const coreMarket = getCoreMarketConfig(SEPOLIA_CHAIN_ID);

// Read from contract
const marketCount = await client.readContract({
  ...coreMarket,
  functionName: 'marketCount',
});

// Write to contract
const { request } = await client.simulateContract({
  ...coreMarket,
  functionName: 'placeBet',
  args: [marketId, outcome],
  value: betAmount,
});
```

### With Wagmi

```typescript
import { getCoreMarketConfig, SEPOLIA_CHAIN_ID } from '@oraclemart/contracts';
import { useReadContract, useWriteContract } from 'wagmi';

export function PlaceBetButton() {
  const { writeContract } = useWriteContract();
  const coreMarket = getCoreMarketConfig(SEPOLIA_CHAIN_ID);

  const placeBet = (marketId: bigint, outcome: boolean, amount: bigint) => {
    writeContract({
      ...coreMarket,
      functionName: 'placeBet',
      args: [marketId, outcome],
      value: amount,
    });
  };

  return <button onClick={() => placeBet(1n, true, parseEther('0.1'))}>
    Bet YES
  </button>;
}
```

### Import ABIs Directly

```typescript
import { CoreMarketABI, SEPOLIA_ADDRESSES } from '@oraclemart/contracts';

console.log('CoreMarket Address:', SEPOLIA_ADDRESSES.CoreMarket);
console.log('ABI:', CoreMarketABI);
```

## Available Exports

### Contract ABIs
- `CoreMarketABI` - Main prediction market contract
- `ResolutionEngineABI` - Oracle resolution engine
- `TreasuryABI` - Treasury contract

### Contract Addresses
- `SEPOLIA_ADDRESSES` - Sepolia testnet addresses
- `MAINNET_ADDRESSES` - Mainnet addresses (after deployment)

### Helper Functions
- `getContractAddresses(chainId)` - Get addresses for specific chain
- `getCoreMarketConfig(chainId)` - Get config for CoreMarket
- `getResolutionEngineConfig(chainId)` - Get config for ResolutionEngine
- `getTreasuryConfig(chainId)` - Get config for Treasury

### Constants
- `SEPOLIA_CHAIN_ID = 11155111`
- `MAINNET_CHAIN_ID = 1`

## Networks

### Sepolia Testnet (Live)
- **CoreMarket**: `0x36b5ebE5a161E7d1C7B75aBce457d7066d87e6DB`
- **ResolutionEngine**: `0xdD2DBd78d4D260321735d45EF32Df965c962Ab7F`
- **Treasury**: `0x51f5C05E8b8553Da5036C57C2eb106dC40D09F1B`
- **ORMT Token**: `0x01A85b604C62F2aC9B9f59A5Df5C9f04E2A06bfC`

### Mainnet
Coming soon after security audit.

## TypeScript Support

Full TypeScript types are included. Your IDE will provide autocomplete and type checking for all contract methods.

## License

MIT
npm package: @oracly/pm-libs
Description: Oracly V1 dApp Common libraries
Author: Oracly Team
Latest version: 1.0.43

# OraclyV1 Shared React Components

React Singe Page Application

## Application Tech Stack
- React (https://reactjs.org/)
- Redux (https://redux.js.org/)

## To Start Development

### Local Developmen Environment

- Run
```
docker-compose up
```
npm package: @oracly/pm-stickchart
Description: Chart
Author: Oracly Team
Latest version: 1.0.13

# OraclyV1 Chart PIXI+GSAP

Package Rendering Chart

## Application Tech Stack
- React (https://reactjs.org/)
- Redux (https://redux.js.org/)

## To Start Development

### Local Developmen Environment

- Run
```
docker-compose up
```
npm package: @oracly/pm-wallet
Description: Wallet
Author: Oracly Team
Latest version: 1.0.7

# OraclyV1 Core Wallet Connectors

React Singe Page Application

## Application Tech Stack
- React (https://reactjs.org/)
- Redux (https://redux.js.org/)

## To Start Development

### Local Developmen Environment

- Run
```
docker-compose up
```
npm package: @oradler/dagre
Description: Graph layout for JavaScript
Author: Or Adler
Latest version: 0.8.6-pre


# Important!

**This project does not have a maintainer or active project members. There won’t be any support or attention to pull requests. Please do not contact previous maintainers unless you are qualified and have the resources to make a serious commitment to fully take over ownership of the project.**



# dagre - Graph layout for JavaScript

[![Build Status](https://github.com/dagrejs/dagre/workflows/Build%20Status/badge.svg?branch=master)](https://github.com/dagrejs/dagre/actions?query=workflow%3A%22Build+Status%22)
[![npm](https://img.shields.io/npm/v/dagre.svg)](https://www.npmjs.com/package/dagre)


Dagre is a JavaScript library that makes it easy to lay out directed graphs on the client-side.

For more details, including examples and configuration options, please see our [wiki](https://github.com/dagrejs/dagre/wiki).

## License

dagre is licensed under the terms of the MIT License. See the LICENSE file for details.
npm package: @oragie/react-modal-lib
Description: A customizable and accessible modal component for React.
Author: ALBERT Vinko aka 'Oragie'
Latest version: 1.0.0

# 🧩 react-modal-lib

A simple, reusable, and accessible modal component for React.

> Inspired by [jquery-modal](https://github.com/kylefox/jquery-modal), rebuilt for the modern React ecosystem.

---

## 📦 Installation

```bash
npm install react-modal-lib
```

---

## 🚀 Usage

```jsx
import React, { useState } from "react";
import { Modal } from "react-modal-lib";

function Example() {
  const [isOpen, setIsOpen] = useState(false);

  return (
    <>
      <button onClick={() => setIsOpen(true)}>Open modal</button>

      <Modal isOpen={isOpen} onClose={() => setIsOpen(false)}>
        <h2>Hello 👋</h2>
        <p>This is the content of the modal.</p>
      </Modal>
    </>
  );
}
```

---

## 🛠 Props

'
| Prop | Type | Default | Description |
| --------------------- | ------------ | ------- | ----------------------------------------- |
| `isOpen` | `boolean` | — | Controls whether the modal is open |
| `onClose` | `() => void` | — | Called when the modal should close |
| `children` | `ReactNode` | — | Modal content |
| `closeOnOverlayClick` | `boolean` | `true` | Close the modal when clicking the overlay |
| `closeOnEscape` | `boolean` | `true` | Close the modal when pressing `Escape` |
| `showCloseButton` | `boolean` | `true` | Show the "×" close button |

'

---

## 🎨 Styling

The modal uses its own internal Modal.css, but you can override styles via classnames:

```css
.modal-overlay {
  ...;
}
.modal-content {
  ...;
}
.modal-close {
  ...;
}
```

Make sure to import the CSS:

```js
import "react-modal-lib/dist/style.css";
```

Or include it via bundler (already included if you use Vite).

---

## 🧪 Local Testing

To test this library locally:

```bash
# In the library folder
npm run build
npm link

# In your React app
npm link react-modal-lib

```

---

## 📄 License

MIT — free to use and modify.
npm package: @orago/force-type
Description: Basic javascript strict typing
Author: Orago
Latest version: 1.0.3

# @orago/status

### Usage:
```js
import { ForceType } from '@orago/status';

// Null
ForceType.Null(); /* => */ null

// Boolean
ForceType.Boolean(true);    /* => */ true
ForceType.Boolean(false);   /* => */ false
ForceType.Boolean({});      /* => */ false
ForceType.Boolean(0);       /* => */ false
ForceType.Boolean('maybe'); /* => */ false

// Number
ForceType.Number(50); /* => */ 50
ForceType.Number('hello'); /* => */ 0
ForceType.Number({}); /* => */ 0

// BigInt
ForceType.BigInt(50); /* => */ 50n
ForceType.BigInt(''); /* => */ 0n
ForceType.BigInt({}); /* => */ 0n
ForceType.BigInt({}); /* => */ 0n
ForceType.BigInt('9007199254740991');     /* => */ 9007199254740991n
ForceType.BigInt('0x1fffffffffffff');     /* => */ 9007199254740991n
ForceType.BigInt('0o377777777777777777'); /* => */ 9007199254740991n

// String
ForceType.String(50);      /* => */ '50'
ForceType.String('hello'); /* => */ 'hello'
ForceType.String({});      /* => */ ''

// Object
ForceType.Object(50);                               /* => */ {}
ForceType.Object('hello');                          /* => */ 'hello'
ForceType.Object({ cat: 'meow' });                  /* => */ { cat: 'meow' }
ForceType.Object(new class cat { speak = 'meow' }); /* => */ cat {speak: 'meow'}

// Array
ForceType.Object([1,5,3,2]);                   /* => */ [1,5,3,2]
ForceType.Object('hello');                     /* => */ []
ForceType.Object(['hello', 'world']);          /* => */ ['hello','world']
ForceType.Object('This is a test'.split(' ')); /* => */ ['This','is','a','test']

import { tryArray } from '@orago/status';

tryArray('[5, 4, 1]');  /* => */ [5,4,1]
tryArray([6, 3, 6, 2]); /* => */ [6,3,6,2]
tryArray({ hi: 'd' });  /* => */ []
tryArray('');           /* => */ []

import { tryObject } from '@orago/status';

tryObject('[5, 4, 1]');  /* => */ {}
tryObject([6, 3, 6, 2]); /* => */ {}
tryObject({ hi: 'd' });  /* => */ { hi: 'd' }
tryObject('');           /* => */ {}
```