An open API service indexing awesome lists of open source software.

https://github.com/garronej/cautious_winner

test
https://github.com/garronej/cautious_winner

Last synced: 3 months ago
JSON representation

test

Awesome Lists containing this project

README

        





test








- [Home](https://github.com/garronej/cautious_winner)
- [Documentation](https://github.com/garronej/cautious_winner)

# Install / Import

`cautious_winner` is both a [Deno](https://deno.land/x/cautious_winner) and an [NPM](https://www.npmjs.com/cautious_winner) module.

## Node:

```bash
$ npm install --save cautious_winner
```

```typescript
import { myFunction, myObject } from "cautious_winner";
```

Specific import

```typescript
import { myFunction } from "cautious_winner/myFunction";
import { myObject } from "cautious_winner/myObject";
```

## Deno:

For the latest version:

```typescript
import { myFunction, myObject } from "https://deno.land/x/cautious_winner/mod.ts";
```

To import a specific [release](https://github.com/garronej/cautious_winner/releases):

```typescript
import { myFunction, myObject } from "https://deno.land/x/[email protected]/mod.ts";
```

Specific imports:

```typescript
import { myFunction } from "https://deno.land/x/cautious_winner/myFunction.ts";
import { myObject } from "https://deno.land/x/cautious_winner/myObject.ts";
```

## Import from HTML, with CDN

Import it via a bundle that creates a global ( wider browser support ):

```html

const { myFunction, myObject } = cautious_winner;

```

Or import it as an ES module:

```html

import { myFunction, myObject } from "//unpkg.com/cautious_winner/zz_esm/index.js";

```

_You can specify the version you wish to import, see [unpkg.com](https://unpkg.com)_

## Contribute

```bash
npm install
npm run build
npm test
```