Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoboucas committed Jan 20, 2022
1 parent 6c609d0 commit a031485
Show file tree
Hide file tree
Showing 13 changed files with 1,900 additions and 2,208 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
sourceType: 'module',
},
rules: {
'import/extensions': [2, 'ignorePackages'],
'node/no-missing-import': 'off',
},
overrides: [...overrides],
}
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
token: ${{ steps.get-token.outputs.token }}
release-type: node
package-name: "@netlify/deno-installer"
package-name: '@netlify/deno-bridge'
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v2
Expand Down
29 changes: 25 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
[![Build](https://github.com/netlify/deno-installer/workflows/Build/badge.svg)](https://github.com/netlify/deno-installer/actions)
[![Node](https://img.shields.io/node/v/@netlify/deno-installer.svg?logo=node.js)](https://www.npmjs.com/package/@netlify/deno-installer)
[![Build](https://github.com/netlify/deno-bridge/workflows/Build/badge.svg)](https://github.com/netlify/deno-bridge/actions)
[![Node](https://img.shields.io/node/v/@netlify/deno-bridge.svg?logo=node.js)](https://www.npmjs.com/package/@netlify/deno-bridge)

# deno-installer
# Deno Bridge

Update me!
This module allows you to interact with the Deno CLI programmatically in a Node application. It's also capable of downloading the CLI on-demand and caching it for subsequent invocations.

## Usage

1. Install this module as a dependency in your project

```
npm install @netlify/deno-bridge --save
```

2. Import it and create an instance of the Deno Bridge

```js
import { DenoBridge } from '@netlify/deno-bridge'

const deno = new DenoBridge()
```

3. Run a command

```js
const { stdout } = await deno.run(['help'])
```
## Contributors

Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for instructions on how to set up and work on this repository. Thanks
Expand Down

0 comments on commit a031485

Please sign in to comment.