@trasherdk/posix-syslog 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # posix-syslog
1
+ # @trasherdk/posix-syslog
2
2
 
3
3
  POSIX syslog bindings for Node.js — based on code from [node-posix](https://github.com/ohmu/node-posix).
4
4
  - Extracted from a fork [node-posix](https://github.com/ilb/node-posix)
@@ -8,13 +8,13 @@ Provides `openlog`, `closelog`, `syslog`, `setlogmask`, and `createLogger` as a
8
8
  ## Installation
9
9
 
10
10
  ```
11
- npm install posix-syslog
11
+ npm install @trasherdk/posix-syslog
12
12
  ```
13
13
 
14
14
  ## Usage
15
15
 
16
16
  ```typescript
17
- import { openlog, syslog, closelog } from "posix-syslog";
17
+ import { openlog, syslog, closelog } from "@trasherdk/posix-syslog";
18
18
 
19
19
  openlog("myprog", { pid: true, ndelay: true }, "local7");
20
20
  syslog("info", "hello, world!");
@@ -28,7 +28,7 @@ within the same process. Call `openlog()` once to set identity and options,
28
28
  then create loggers for each facility:
29
29
 
30
30
  ```typescript
31
- import { openlog, createLogger, closelog } from "posix-syslog";
31
+ import { openlog, createLogger, closelog } from "@trasherdk/posix-syslog";
32
32
 
33
33
  openlog("myapp", { pid: true, ndelay: true }, "user");
34
34
 
@@ -102,7 +102,7 @@ All exports are fully typed. Key types:
102
102
  ```typescript
103
103
  import type {
104
104
  SyslogPriority, SyslogFacility, SyslogOptions, SyslogMask, Logger,
105
- } from "posix-syslog";
105
+ } from "@trasherdk/posix-syslog";
106
106
  ```
107
107
 
108
108
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trasherdk/posix-syslog",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "POSIX syslog bindings for Node.js",
5
5
  "license": "MIT",
6
6
  "type": "module",