open-index/open-npm huggingface dataset:
npm package: @cc-apps/core
Description: Welcome to the <a href="https://www.complycloud.com/">ComplyCloud</a> component library NPM package!
Author: ek@complycloud.com
Latest version: 36.1.1

# @cc-apps/core

Welcome to the <a href="https://www.complycloud.com/">ComplyCloud</a> component library NPM package!

This package defines a shared component library for internal use in ComplyCloud. It contains re-usable versions of our most core web components as well as styling themes. These themes can be used for styling our apps, and come pre-applied to the components defined in this package.

The aim of this package is to define a single source of truth for most of our basic front-end elements, and the general look and feel of our applications. As such, changes or new variants of components should be defined in this package, so they can be re-used.

To use this library in your application, it can be imported as such:

```typescript
import { SomeComponent } from '@cc-apps/core'
```

This package uses [emotion](https://emotion.sh/docs/theming) for theming, and use of our components depends on the existence of a `ThemeProvider` wrapping the application using the components. This `ThemeProvider` can either use on of our themes, or a different theme which follows the `CCTheme` type definition.

```jsx
import { themes } from '@cc-apps/core'
import { Button, ButtonVariant } from '@cc-apps/core'

function MyApp() {
  return (
    <ThemeProvider theme={themes.default}>
      <div className="App">
        <Button
          variant={ButtonVariant.ACCEPT}
          onClick={() => 42}
          text={'Button Text'}
        />
      </div>
    </ThemeProvider>
  )
}
```

## Working with Foundations

See [our style guide](https://github.com/ComplyCloudApp/foundation/blob/master/src/style-guide.md) for guidance on development, Git strategy and development/release flow.

## How to run

```sh
yarn
yarn run build-icons
yarn dev
```

## Storybook

Run 
```
yarn storybook
```
to see the storybook locally, or check the storybook on <a href="https://foundation-master.herokuapp.com/">master</a>
npm package: @cc-external/fortawesome_fontawesome-free
Description: Install package "@fortawesome/fontawesome-free" with externals configuration for "cc-webpack-externals-plugin"
Author: The CodeCoupler Authors
Latest version: 6.5.0

# Configuration Package for @codecoupler/cc-webpack-externals-plugin

If you use the plugin `@codecoupler/cc-webpack-externals-plugin` in your Webpack configuration
you can install with this package the NPM module `@fortawesome/fontawesome-free` and automatically configure this
as external library. The module will not be included in your library bundle.

Usage:

```bash
npm i @cc-external/fortawesome_fontawesome-free
```

The version number of this package matches the major and minor number of the module `@fortawesome/fontawesome-free`
that is included as dependency. The patch number **do not** correspond to the module patch number.
npm package: @cc-test2/clickoutside
Description: Made with create-react-library
Author: CodeCraft
Latest version: 1.0.9

# clickoutside

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@cc-test2/clickoutside.svg)](https://www.npmjs.com/package/@cc-test2/clickoutside) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @cc-test2/clickoutside
```

## Usage

```jsx
import React, { Component } from 'react'
import {Box, Button, Code, Grid, Text, useDisclosure} from "@chakra-ui/core";
import ClickOutside from "@cc-test2/clickoutside";

const ExampleComponent = () => {
    const {isOpen, onOpen, onClose} = useDisclosure();
    return (
         <>
           {
               isOpen ?
                   <ClickOutside handleAction={onClose}>
                       <Box rounded='md' bg='red.400' color='white' p={4}>
                           Click outside this button to close it</Box>
                   </ClickOutside> :
                   <Button variantColor={'blue'} onClick={onOpen}>Open Box</Button>
           }
         </>)
}
```

## License

MIT © [CodeCraft](https://github.com/CodeCraft)
npm package: @cc-test2/comet
Description: Made with create-react-library
Author: CodeCraft
Latest version: 2.0.3

# comet

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@cc-test2/comet.svg)](https://www.npmjs.com/package/@cc-test2/comet) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @cc-test2/comet
```

## Usage

```jsx
import Comet from '@cc-test2/comet';
```

## License

MIT © [CodeCraft](https://github.com/CodeCraft)
npm package: @ccheever/crayon
Description: crayon - Add colors to text on your terminal. A faster replacement for chalk that also adds 256 color support
Author: Charlie Cheever
Latest version: 5.0.0

# <img width="200" height="200" src="logo.png" alt="crayon"> crayon
=====

A very fast, clean, and flexible way to use ANSI colors on your terminal. Crayon supports 256 colors, a clean and chainable API, a few other nifty features, and built-in logging.

It works as a drop-in replacement for [chalk](https://github.com/sindresorhus/chalk), but is much faster (~20x) and has additional features. Like chalk, it doesn't monkeypatch the `String` prototype the way that the popular [colors](https://github.com/marak/colors.js/) module does.

## Usage

```js
var crayon = require('crayon');

// Log a string
crayon.red.log('This is red');

// Style a string
console.log(crayon.blue('Hello world!'))

// Use any CSS color name
crayon.olivedrab.bgOldlace.info("cute");

// Use hex colors
crayon("#ffcc00").log("old gold");

// Use ANSI color codes
crayon(100).log("look at me");

// Combine styled and normal strings
console.log(  crayon.blue('Hello'), 'World' + crayon.red('!')  );

// Compose multiple styles using the chainable API
console.log(  crayon.blue.bgRed.bold('Hello world!')  );

// Or just compose styles by passing strings to the crayon function
crayon('red bgblue').log('this is red on a blue background');

// Nest styles
console.log(  crayon.red('Hello', crayon.underline.bgBlue('world') + '!')  );

// Pass in multiple arguments
crayon.blue.info('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz');

// Specify multiple styles
crayon("goldenrod", "bg:blue", "inverse").underline.log("Hi!");

// Specify foreground and background colors
crayon.foreground("#ffffff").background("crimson").log("school!");
crayon.fg("navy").bg("#ffcc00").log("spirit!");
crayon.fgbg("white", "red").underline.error("whew");
crayon.red._("background:goldenrod").inverse.log("goldenrod on red");

// Specify a custom logger
crayon.logger = require('npmlog');

```

For color descriptions passed to functions, you can use any of the following:
- The name of any CSS color (case-insensitive)
- Any hex color (case-insensitive, leading '#' is optional)
- Any ANSI color code 0-255 as a Number

## Notes

- Depending on your settings, there may be a difference between the system red color and the color most closely matching the CSS color red. In the case of color name collisions, `crayon.red` will give you the system color and `crayon.red_` will give you the CSS color.
- For functions that aren't specific about whether they take a foreground or a background argument, you can pass `bg:<color>` or `background: <color>` or `bg<Color>` or similar, etc. to change the background color.
- The reason that this module is much faster than chalk is that chalk remakes the style functions each time you call them whereas crayon keeps them around if you reuse them.
npm package: @ccmos/nestjs-agenda
Description: [agenda](https://github.com/agenda/agenda) module for [nestjs](https://nestjs.com/)
Author: mosluce
Latest version: 0.1.3

# nestjs-agenda

[agenda](https://github.com/agenda/agenda) module for [nestjs](https://nestjs.com/)

## Install

```bash
npm i @ccmos/nestjs-agenda
```

## Usage

```typescript
// module

@Module({
  imports: [
    AgendaModule.forRoot({
      db: {
        address: 'mongodb://localhost/agenda-test',
        collection: 'agenda',
        options: {},
      },
    }),
  ],
})
export class AppModule {}

// service
@Injectable()
export class SomeService implement OnModuleInit {
  constructor(private agenda: Agenda) {}

  async onModuleInit() {
    // must start before schedule
    await this.agenda.start();
  }

  async doSomething() {
    agenda.define('test2', (job: Job) => {
      console.log(job.attrs.data?.num); // print 2
    });

    await agenda.schedule('in 2 seconds', ['test2'], { num: 2 });
  }
}
```

or use with config

```typescript
@Module({
  imports: [
    AgendaModule.forRootAsync({
      imports: [
        ConfigModule.forRoot({
          envFilePath: [path.resolve(__dirname, '.test.env')],
          load: [env],
        }),
      ],
      inject: [ConfigService],
      useFactory: (config: ConfigService) => ({
        db: {
          address: config.get<string>('db.url', ''),
          collection: config.get<string>('db.collection', ''),
          options: {},
        },
      }),
    }),
  ],
})
export class AppModule {}
```