https://github.com/garronej/cautious_winner
test
https://github.com/garronej/cautious_winner
Last synced: 3 months ago
JSON representation
test
- Host: GitHub
- URL: https://github.com/garronej/cautious_winner
- Owner: garronej
- License: mit
- Created: 2021-04-07T18:18:06.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-27T17:14:23.000Z (about 4 years ago)
- Last Synced: 2025-02-05T09:17:24.682Z (4 months ago)
- Language: TypeScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```