open-index/open-npm huggingface dataset:
npm package: @oaknational/oak-pupil-client
Description: React Client for Oak Pupil API
Latest version: 2.17.0

# Oak Pupil Client

![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen)

The Pupil Client is a React TypeScript client to interface with the [Oak Pupil API](https://github.com/oaknational/oak-pupil-api).

## Installation

To integrate the Oak Pupil Client into your project, you will need React 18 later. Install the package using NPM or your preferred package manager:

```bash
npm i @oaknational/oak-pupil-client
```

## Usage

### Setting up the client

Wrap your app with the provider

```tsx
import { OakPupilClientProvider } from "@oaknational/oak-pupil-client";

export const MyView = ({ children }: { children: React.ReactNode }) => {
  return (
    <OakPupilClientProvider
      config={{
        getLessonAttemptUrl: "https://example.com/get-lessom-attempt",
        logLessonAttemptUrl: "http://example.com/log-lesson-attempt",
      }}
    >
      {children}
    </OakPupilClientProvider>
  );
};
```

### Using the Hook

For components that need to interact with the state, the useOakPupil hook can be utilised. This hook provides access to the current state, allowing users to log and retrieve lesson attempts.

```tsx
import { useOakPupil } from "@oaknational/oak-pupil-client";

function MyComponent() {
  const { state } = useOakPupil();

  useEffect(() => {
    if (requiresInteraction) {
      showCookieBanner(); // you're expected to handle any UI and its associated state
    }
  }, [requiresInteraction]);
}
```

## External Contributions

### Security and Bug Bounty

Please see our [security.txt](public/.well-known/security.txt) file.

### Contributing to the Code

While the Oak Pupil Client is currently not open for direct contributions, we encourage you to report any issues or suggest enhancements through the GitHub issue tracker. Your feedback is invaluable in making this tool more effective for developers.

## Open Source Acknowledgements

As with all web projects we are dependent on open source libraries maintained by others. While it is not practical to acknowledge them all, we would nevertheless like to express our gratitude for the contributions and efforts of the OSS community. Our dependency list can be found in our [package.json](package.json) file.

## License

Unless stated otherwise, the codebase is released under the [MIT License][mit]. This covers both the codebase and any sample code in the documentation. Where any Oak National Academy trademarks or logos are included, these are not released under the [MIT License][mit], and should be used in line with [Oak National Academy brand guidelines][brand].

Any documentation included is © [Oak National Academy][oak] and available under the terms of the [Open Government Licence v3.0][ogl], except where otherwise stated.

[mit]: LICENCE
[oak]: https://www.thenational.academy/
[ogl]: https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
[brand]: https://support.thenational.academy/using-the-oak-brand
npm package: @oaknational/retool-helpers
Description: Browser compatible helper functions for Retool apps
Author: Oak National
Latest version: 0.13.0

# retool-helpers

Retool helper functions that run in a browser environment (don't use Node APIs).

## Development

Functions should be imported into, then exported from, [`src/index.ts`](src/index.ts).

Don't use Node APIs, these functions are for use in a browser environment.

## Building

The Typescript is compiled into ESM and CJS compatible modules. The ESM modules are then bundled using `esbundler` and exposed on the browser `Window` object under the `OakRetoolHelpers` object.

### CI/CD

#### GitHub Secrets Required for Workflows

- `secrets.SONAR_TOKEN` required for running Sonar Cloud with test coverage report uploading.

## Testing

- Unit tests: `npm run test` - these run in CI, but will not throw if you accidentally include Node APIs in the library.
- Browser tests: `npm run browser-test`, this will open a local browser window and run Mocha tests in it. These don't run in CI because we can't extract the test result. Because they run in a browser they will throw if you accidentally include non-Browser APIs, e.g. Node's `process.env`.

## Publishing

New GitHub releases are automatically created with the [Semantic Release](https://www.npmjs.com/package/semantic-release) package on merging a PR, and automatically released to [npmjs.com](https://www.npmjs.com/package/@oaknational/retool-helpers).

## Documentation

Documentation can be read locally by using the command `npm run open-docs`

## Use

The bundled code can be included on a page as a `<script>` tag. Once loaded the functions will be available on the `OakRetoolHelpers` object attached to the global `Window` scope, e.g. `OakRetoolHelpers.slugify(myString)`. See the [browser test file](browser_test/index.html) for an example.

## Contributions

We are not currently accepting external contributions, thank you.
npm package: @oakroadapps/openclaw-carapace-vault
Description: Carapace companion for OpenClaw: keypair QR + sealed-box ingest/decrypt for secret import.
Latest version: 0.1.1

# @oakroad/openclaw-carapace-vault

Local-only OpenClaw companion package for secure secret import from Carapace.

## What It Does

1. Generates/loads a local X25519 keypair for OpenClaw.
2. Prints the public key as a terminal QR code for Carapace scanning.
3. Decrypts Carapace sealed-box payloads locally.
4. Writes decrypted secrets to `~/.openclaw/.env`.
5. Supports deterministic auto-trigger from inbound marker payloads:
   - `carapace:v1:<base64_ciphertext>`

No backend. No external service calls. Decrypt happens locally.

## Install

```bash
npm install -g @oakroad/openclaw-carapace-vault
```

Or from a local folder while iterating:

```bash
npm install -g ./carapaceBackend
```

## CLI

```bash
carapace-vault init
carapace-vault decrypt "<BASE64_CIPHERTEXT>" [ENV_KEY]
carapace-vault ingest "<MESSAGE_TEXT>"
echo "<MESSAGE_TEXT>" | carapace-vault ingest
```

## Message Contract

Carapace copies payloads in this format:

```text
carapace:v1:<base64_ciphertext>
```

`ingest` scans inbound message text for that marker and decrypts when found.

## Defaults

1. Keypair file: `~/.openclaw/carapace_key.json`
2. Env file: `~/.openclaw/.env`
3. Default env key: `OPENCLAW_SECRET`
4. Inferred env keys by message context when possible (for example `ANTHROPIC_API_KEY`).

## Optional Environment Overrides

1. `OPENCLAW_CONFIG_DIR`
2. `CARAPACE_KEY_FILE`
3. `OPENCLAW_ENV_FILE`
4. `OPENCLAW_SECRET_ENV_KEY` (legacy alias accepted: `OPENCLAW_API_ENV_KEY`)
5. `CARAPACE_ALLOW_HEURISTIC_SCAN=1` (enables broad Base64 scanning, off by default)

## Programmatic Usage

```js
const {
  initializeCarapaceVault,
  decryptCarapacePayload,
  handleInboundMessage,
} = require("@oakroad/openclaw-carapace-vault");

await initializeCarapaceVault();

const inbound = "here is my anthropic key carapace:v1:<BASE64_CIPHERTEXT>";
const result = await handleInboundMessage(inbound);
console.log(result.message);
```

## Publish To npm

```bash
cd carapaceBackend
npm login
npm whoami
npm publish --access public
```

For first publish of a scoped package, `--access public` is required.
npm package: @oakslab/ooo-config
Description: Shared configuration files for OAK'S LAB projects
Author: OAK'S LAB
Latest version: 0.1.0

# We're [OAK'S LAB](https://oaks-lab.com)

The creative ecosystem specializing in building businesses, architecting software and educating the future leaders in tech.

# What's this?

These are configs we use on our projects.

- [Common](./common) - common for each project
- [Frontend](./frontend) - frontend specific
- [Backend](./backend) - backend specific
- [Mobile](./mobile) - mobile specific
- [Devops](./devops) - devops specific
- [QA](./qa) - qa specific
- [Git](./git) - git specific

## Install

```sh
$ yarn add @oakslab/ooo-config --dev
```

or

```sh
$ npm install --save-dev @oakslab/ooo-config
```

## Usage

`tsconfig.json`

```js
{
  "extends": "@oakslab/ooo-config/common/tsconfig.json",
  // It's also possible to override the rules
  "compilerOptions": {
    "outDir": "dist",
    "lib": ["es2018"]
  },
  "exclude": ["node_modules", "example-folder"]
}
```

`tslint.json`

```js
{
  "extends": "@oakslab/ooo-config/common/tslint.json",
  // It's also possible to override the rules
  "linterOptions": {
    "exclude": ["example.js"]
  }
}
```

`.prettierrc.js`

Name a configuration file `.prettierrc.js` and import default config from this package.

```js
module.exports = require("@oakslab/ooo-config/common/.prettierrc");
```

`.jest.config.js`

```js
module.exports = require("@oakslab/ooo-config/common/.jest.config");
```

## Package publishing

1. Bump the version in `package.json` and commit the changes. For example `0.0.3` --> `0.0.4`. This package should follow [Semantic Versioning 2.0.0](https://semver.org/).
2. Go to [Release page](https://github.com/oakslab/ooo-config-examples/releases) and create a new release from the master branch. Provide the same tag version you specified in the previous step. Title and description are also important, let your team members know what has been done in this release.
3. Publish release and Travis CI does the rest.
npm package: @oakspace/react-app
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Author: oak
Latest version: 0.1.12

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
npm package: @oakstudios/inline-svg
Description: A web component for dynamically fetching SVG files and inlining them in HTML
Author: Oak Studios
Latest version: 0.2.1

# Inline SVG

<!-- **[Demo](https://oakstudios.github.io/inline-svg)** -->

## Installation

```
npm i @oakstudios/inline-svg
```

### Web Component

1. Load the web component. Choose the option that best suits your needs:
    
    Using a `script` tag placed at the end of the `body`:
    
    ```html
    <!-- this automatically registers the component in the window as mechanical-ragger -->
    <script type="module" src="https://unpkg.com/@oakstudios/inline-svg@latest/auto-register.js"></script>
    ```
    
    _OR_ importing the same auto-register function in JS:
    
    ```js
    import "@oakstudios/inline-svg/auto-register";
    ```
    
    _OR_ registering the component manually:
    
    ```js
    import InlineSVG from "@oakstudios/inline-svg";
    
    customElements.define("inline-svg", InlineSVG);
    ```

2. Then add it to your HTML:

   ```html
   <inline-svg src="/path/to/file.svg"></inline-svg>
   ```

## API
| Attribute | Default | Description |
| - | - | - |
| `src` | `null` | HTTP path or URL to the desired SVG image |
| `scoped` | `false` | Scopes `id` attributes and references to them within the SVG. Helps prevent naming collisions within the HTML document. |

## Acknowledgements
https://www.npmjs.com/package/react-inlinesvg
npm package: @oakten/material-symbols-weight400-size20
Description: Material Symbols weight=600 optical-size=20px
Author: Oakten by confer! AG
Latest version: 1.0.102
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Material Symbols
Latest SVGs with weight 400 and size 20px for Material Symbols. This package is automatically updated, so it will always have the latest symbols from Google.

# Installation
Install the latest version using:

```sh
npm install @oakten/material-symbols-weight400-size20
```

# License
Material design icons are created by [Google](https://github.com/google/material-design-icons).
npm package: @oakwood/oui
Description: Oakwood UI components built with React and Material-UI.
Author: Oakwood Creative
Latest version: 1.1.0

<p align="center">
  <img width="150" src="/docs/public/logo.svg" alt="Oakwood-UI logo">
</p>

<h1 align="center">Oakwood-UI</h1>

<div align="center">

[Oakwood](https://oakwood.se) UI components built on top of [React](https://reactjs.org/) and [Material-UI](https://material-ui.com/).

</div>

## Installation

Oakwood-UI is available as an [npm package](https://www.npmjs.com/package/@oakwood/oui).

```sh
// with npm
npm install @oakwood/oui

// with yarn
yarn add @oakwood/oui
```

## Documentation

Check out our xxx.

## Contributing

Read our [contributing guide](/CONTRIBUTING.md) to learn about our development process.

## Changelog

Please read the [changelog](/CHANGELOG.md).

## License

This project is licensed under the terms of the
[MIT license](/LICENSE).
npm package: @oakxswap/oakxswapx-sdk
Description: All versions after 2.0.1 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/uniswapx-sdk Please file all future issues, PR’s, and discussions there.
Author: oakxswap
Latest version: 0.0.4

# @uniswap/uniswapx-sdk - Now at `Uniswap/sdks`

All versions after 2.0.1 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/uniswapx-sdk Please file all future issues, PR’s, and discussions there.

### Old Issues and PR’s

If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.