ngx-web-serial 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,4 @@
1
- [![npm version](https://badge.fury.io/js/angular-web-serial.svg?icon=si%3Anpm)](https://badge.fury.io/js/angular-web-serial)
2
1
  [![Publish to GitHub Packages](https://github.com/mattfors/ngx-web-serial/actions/workflows/build.yml/badge.svg)](https://github.com/mattfors/ngx-web-serial/actions/workflows/build.yml)
3
- [![codecov](https://codecov.io/github/mattfors/ngx-web-serial/graph/badge.svg?token=GRL2B8OCW5)](https://codecov.io/github/mattfors/ngx-web-serial)
4
2
 
5
3
  # Angular Web Serial
6
4
 
@@ -9,14 +7,14 @@ Angular Web Serial is an angular module for connecting to serial devices with th
9
7
  ## Installation
10
8
 
11
9
  ```shell
12
- npm i angular-web-serial
10
+ npm i ngx-web-serial
13
11
  ```
14
12
 
15
13
  ## Usage
16
14
  Below is the basic usage of the module. A pipe is used to accumulate the raw data from the serial port.
17
15
  ```typescript
18
16
  import { Component } from '@angular/core';
19
- import { AngularSerialService, provideAngularSerial } from '../../../ngx-web-serial/src';
17
+ import { AngularSerialService, provideAngularSerial } from 'ngx-web-serial';
20
18
  import { Observable, scan } from 'rxjs';
21
19
  import { AsyncPipe } from '@angular/common';
22
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-web-serial",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"