Comparing version 0.0.2 to 0.0.3
@@ -0,1 +1,5 @@ | ||
## [0.0.3](https://github.com/posva/mande/compare/v0.0.2...v0.0.3) (2020-05-17) | ||
Fixed tag | ||
## 0.0.2 (2020-05-17) | ||
@@ -2,0 +6,0 @@ |
/*! | ||
* mande v0.0.2 | ||
* mande v0.0.3 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -28,4 +28,4 @@ * @license MIT | ||
* ``` | ||
* @param baseURL absolute url with a leading slash | ||
* @param globalOptions optional global options that will be applied to every | ||
* @param baseURL - absolute url with a leading slash | ||
* @param globalOptions - optional global options that will be applied to every | ||
* other request | ||
@@ -32,0 +32,0 @@ */ |
/*! | ||
* mande v0.0.2 | ||
* mande v0.0.3 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -24,4 +24,4 @@ * @license MIT | ||
* ``` | ||
* @param baseURL absolute url with a leading slash | ||
* @param globalOptions optional global options that will be applied to every | ||
* @param baseURL - absolute url with a leading slash | ||
* @param globalOptions - optional global options that will be applied to every | ||
* other request | ||
@@ -28,0 +28,0 @@ */ |
/*! | ||
* mande v0.0.2 | ||
* mande v0.0.3 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
/*! | ||
* mande v0.0.2 | ||
* mande v0.0.3 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -27,4 +27,4 @@ * @license MIT | ||
* ``` | ||
* @param baseURL absolute url with a leading slash | ||
* @param globalOptions optional global options that will be applied to every | ||
* @param baseURL - absolute url with a leading slash | ||
* @param globalOptions - optional global options that will be applied to every | ||
* other request | ||
@@ -31,0 +31,0 @@ */ |
/*! | ||
* mande v0.0.2 | ||
* mande v0.0.3 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "mande", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Some awesome description", | ||
@@ -5,0 +5,0 @@ "main": "dist/mande.common.js", |
@@ -14,4 +14,18 @@ # mande [![Build Status](https://badgen.net/circleci/github/posva/mande/master)](https://circleci.com/gh/posva/mande) [![npm package](https://badgen.net/npm/v/mande)](https://www.npmjs.com/package/mande) [![coverage](https://badgen.net/codecov/c/github/posva/mande/master)](https://codecov.io/github/posva/mande) [![thanks](https://badgen.net/badge/thanks/♥/pink)](https://github.com/posva/thanks) | ||
```js | ||
import { mande } from 'mande' | ||
// make sure to add the leading slash | ||
const users = mande('/api/users/', globalOptions) | ||
// no leading slash before the url | ||
users.get('2').then(user => { | ||
// do something with user | ||
}) | ||
``` | ||
## API | ||
Most of the code can be discovered through the autocompletion but the API documentation is available at https://posva.net/mande/. | ||
## Related | ||
@@ -18,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14509
38