Skip to content

Commit

Permalink
rollup & unpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscdn committed Mar 30, 2020
1 parent 6d0daf2 commit 1699bba
Show file tree
Hide file tree
Showing 17 changed files with 4,375 additions and 24 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ Using yarn:
$ yarn add @chriscdn/cs-rest
```

Using unpkg CDN:

```html
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://unpkg.com/browse/@chriscdn/cs-rest/lib/index.min.js"></script>
```

## Example

Authenticate with a username and password and get the details of a node:
Expand Down
9 changes: 9 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
presets: [
['@babel/preset-env', {
useBuiltIns: 'usage',
modules: false,
corejs: 3 // https://babeljs.io/docs/en/babel-plugin-transform-runtime#options
}]
]
}
345 changes: 345 additions & 0 deletions lib/index.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/index.cjs.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 1699bba

Please sign in to comment.