# pointless-js

> Functional point-free utilities for js

Latest version **0.0.0** (published 2019-11-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install pointless-js
pnpm add pointless-js
yarn add pointless-js
bun add pointless-js
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2019-11-12 |
| First published | 2019-11-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 153.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Raiondesu |
| Maintainers | raiondesu |
| Keywords | js, javascript, ts, typescript, pure, utils, utilities, functional, point-free, pointfree, treeshakeable, tree-shaking, pointless-ts, pointless |

## Links

- npm: https://www.npmjs.com/package/pointless-js
- Repository: https://github.com/raiondesu-experiments/pointless-js
- Homepage: https://github.com/raiondesu-experiments/pointless-js#readme
- Issues: https://github.com/raiondesu-experiments/pointless-js/issues
- npm.io page: https://npm.io/package/pointless-js

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.0 (latest) — 2019-11-12
- 0.0.1-rc.2 (next) — 2019-11-27
- 0.0.1-rc.1 — 2019-11-27
- 0.0.1-rc.0 — 2019-11-13

## README

<h1 align="center" style="text-align: center">
  <img src="assets/logo.png"/>
</h1>

<p align="center">
Functional point-free utilities for js
</p>

<h2 align="center">
[WIP]
</h2>

<p align="center">
<a href="https://travis-ci.com/raiondesu-experiments/pointless-js" title="Latest Travis CI build"><img src="https://img.shields.io/travis/com/raiondesu-experiments/pointless-js?style=flat-square" alt="travis"></a>
<a href="https://www.npmjs.com/package/pointless-js" title="Downloads per month, but who cares?"><img src="https://img.shields.io/npm/dm/pointless-js.svg?style=flat-square" alt="npm"></a>
<a href="https://bundlephobia.com/result?p=pointless-js@latest" title="minzipped size"><img src="https://img.shields.io/bundlephobia/minzip/pointless-js@latest?style=flat-square" alt="size"></a>
<a href="https://coveralls.io/github/raiondesu-experiments/pointless-js" title="Code coverage"><img src="https://img.shields.io/coveralls/github/raiondesu-experiments/pointless-js?style=flat-square" alt="coveralls"></a>
<a href="https://codeclimate.com/github/raiondesu-experiments/pointless-js/maintainability" title="Code quality"><img src="https://img.shields.io/codeclimate/maintainability/raiondesu-experiments/pointless-js?style=flat-square" alt="code quality"></a></p>
</p>

<p align="center">
<a href="https://codepen.io/raiondesu/pen/RwwYxxp" title="Link to in-browser playground"><img src="https://img.shields.io/badge/playground-link-blueviolet?style=flat-square" alt="code pen"></a>
</p>

## Table of Contents<!-- omit in toc -->
- [What is this?](#what-is-this)
- [Installation](#installation)
  - [Importing](#importing)

## What is this?

It's a simple collection of functional utilities for JavaScript and Typescript standard library.

If you need similar utilities for [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch) - check out [pointless-fetch](https://github.com/raiondesu-experiments/pointless-fetch).

---

## Installation

**npm**:
```bash
npm i -S pointless-js
```

**browser**:
```html
<!-- ES2015 -->
<script type="module">
  import * as P from 'https://unpkg.com/pointless-js';

  // use it here
</script>

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

### Importing

```ts
// TS-module (pure typescript),
// allows compilation settings to be set from the project config
import * as P from 'pointless-js/src';

// ES-module (npm/node, typescript)
import * as P from 'pointless-js';

// ESNext (no polyfills for esnext)
import * as P from 'pointless-js/dist/esnext';

// ES-module (browser, node)
import * as P from 'https://unpkg.com/pointless-js';

// Classic node commonjs
const P = require('pointless-js/dist/js');
```



---

Something's missing or found a bug?\
Feel free to [create an issue](https://github.com/raiondesu-experiments/pointless-js/issues/new)! 😉

---
_Source: https://npm.io/package/pointless-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
