# ngx-simpler-copy

> Just for copy text to clipboard, only that !!!

Latest version **0.0.3** (published 2021-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install ngx-simpler-copy
pnpm add ngx-simpler-copy
yarn add ngx-simpler-copy
bun add ngx-simpler-copy
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2021-02-13 |
| First published | 2021-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 22.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Agung Yuliyanto |
| Maintainers | agung96tm |
| Keywords | library, typescript, angular package, package, clipboard |

## Links

- npm: https://www.npmjs.com/package/ngx-simpler-copy
- Repository: https://github.com/agung96tm/ngx-simpler-copy
- Homepage: https://github.com/agung96tm/ngx-simpler-copy#readme
- Issues: https://github.com/agung96tm/ngx-simpler-copy/issues
- npm.io page: https://npm.io/package/ngx-simpler-copy

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.0.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2021-02-13
- 0.0.2 — 2021-02-13
- 0.0.1 — 2021-02-13

## README

# Ngx Simpler Copy

Just for copy text to clipboard, only that !!!


### how to:
1. import `NgxSimplerCopyModule`:
```
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppComponent } from './app.component';
import { NgxSimplerCopyModule } from 'ngx-simpler-copy';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    NgxSimplerCopyModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
```

2. use directive or exist function:
```
import { Component } from '@angular/core';
import { simplerCopyText } from 'ngx-simpler-copy';

@Component({
  selector: 'app-root',
  templates: `
  <div>
    <p #mySimpler="simplerCopy" simplerCopy>
        08111111111111
    </p>
    <div>
        <button (click)="mySimpler.copy('08111111111111')">
        Copy
        </button>
        &nbsp;
        <button (click)="copyHiThere('Hi, There !!!')">
        Copy "Hi, There !!!"
        </button>
    </div>
  </div>
  `,
  styles: [``]
})
export class AppComponent {
  copyHiThere(text: string): void {
    simplerCopyText(text);
  }
}

```

### Contributes:
- agung96tm ( [github](https://github.com/agung96tm) | [website](https://agung96tm.com/) )

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