0.0.2 • Published 4 years ago

pointless-fetch v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Table of Contents

What is this?

It's a simple collection of functional utilities for fetch written in typesctipt.


Installation

npm:

npm i -S pointless-fetch

browser:

<!-- ES2015 -->
<script type="module">
  import { subUrl, request, query } from 'https://unpkg.com/pointless-fetch';

  // use it here
</script>

<!-- ES5 with IE11+ general syntax polyfills, global object - `pointless` -->
<!-- Polyfill `window.Promise` and `Object.assign` yourself! -->
<script src="https://unpkg.com/pointless-fetch/dist/umd.js"></script>

Importing

// TS-module (pure typescript),
// allows compilation settings to be set from the project config
import { subUrl, request, query } from 'pointless-fetch/src';

// ES-module (npm/node, typescript)
import { subUrl, request, query } from 'pointless-fetch';

// ESNext (no polyfills for esnext)
import { subUrl, request, query } from 'pointless-fetch/dist/esnext';

// ES-module (browser, node)
import { subUrl, request, query } from 'https://unpkg.com/pointless-fetch';

// Classic node commonjs
const { subUrl, request, query } = require('pointless-fetch/dist/js');

Something's missing or found a bug?\ Feel free to create an issue! 😉

0.1.0-rc.3

4 years ago

0.1.0-rc.2

4 years ago

0.1.0-rc.1

4 years ago

0.1.0-rc.0

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.1-rc.6

4 years ago

0.0.1-rc.5

4 years ago

0.0.1-rc.4

4 years ago

0.0.1-rc.3

4 years ago

0.0.1-rc.2

4 years ago

0.0.1-rc.1

4 years ago

0.0.1-rc.0

4 years ago

0.0.0

4 years ago