# paperclip-autocomplete

> Internal Autocomplete helper util for language clients

Latest version **18.3.8** (published 2022-01-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install paperclip-autocomplete
pnpm add paperclip-autocomplete
yarn add paperclip-autocomplete
bun add paperclip-autocomplete
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 18.3.8 |
| Published | 2022-01-06 |
| First published | 2020-07-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 105.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | crcn |

## Links

- npm: https://www.npmjs.com/package/paperclip-autocomplete
- npm.io page: https://npm.io/package/paperclip-autocomplete

## Recent versions

- 18.3.8 (latest) — 2022-01-06
- 18.1.6 — 2021-12-16
- 18.1.4 — 2021-12-15
- 18.1.3 — 2021-12-12
- 18.1.2 — 2021-12-12
- 18.1.0 — 2021-12-12
- 18.0.3 — 2021-12-08
- 18.0.2 — 2021-11-28
- 17.14.21 — 2021-11-18
- 17.14.19 — 2021-10-19
- 17.14.14 — 2021-09-17
- 17.14.3 — 2021-08-03
- 17.12.0 — 2021-07-25
- 17.9.17 — 2021-07-06
- 17.9.13 — 2021-06-28
- … 72 more at https://npm.io/package/paperclip-autocomplete/versions

## README

Internal autocomplete library for Paperclip

Demo:
```typescript
import { getSuggestions } from "paperclip-complete";

let source = `<style> .element { col`;

const suggestions = getSuggestions(source, {
  mixins: [["typography", "big-font"]],
  components: [["internal-component"]],
  classNames: [["typography", "my-imported-class"]]
}); // [{ sub: 3, value: "color" }]


const suggestion = suggestions[0];

source = source.substr(0, source.length - suggestion.length) + suggestion.value;
```

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