@ayapapa-npm/contracts-js 0.2.0 → 0.2.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 +11 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,10 +3,18 @@ A lightweight Design by Contract library for JavaScript.
3
3
 
4
4
  ## Installation
5
5
 
6
+
7
+ ### Install from npm registry
8
+ Available now.
9
+ ```bash
10
+ npm install @ayapapa-npm/contracts-js
11
+ ```
12
+
6
13
  ### Install directly from GitHub Release:
7
14
  Available now.
15
+ Check for the latest version before installation: https://github.com/ayapapa/contracts-js/releases
8
16
  ```bash
9
- npm install https://github.com/ayapapa/contracts-js/releases/download/0.2.0/contracts-js-0.2.0.tgz
17
+ npm install https://github.com/ayapapa/contracts-js/releases/download/X.Y.Z/ayapapa-npm-contracts-js-X.Y.Z.tgz
10
18
  ```
11
19
  If you see the error:
12
20
  ```
@@ -14,16 +22,15 @@ npm error code EALLOWREMOTE
14
22
  npm error Fetching packages of type "remote" have been disabled
15
23
  ```
16
24
  allow remote packages:
25
+
17
26
  ```bash
18
27
  npm config set allow-remote all
19
28
  ```
20
29
  Then run the install command again:
21
30
  ```bash
22
- npm install https://github.com/ayapapa/contracts-js/releases/download/0.2.0/contracts-js-0.2.0.tgz
31
+ npm install https://github.com/ayapapa/contracts-js/releases/download/X.Y.Z/ayapapa-npm-contracts-js-X.Y.Z.tgz
23
32
  ```
24
33
 
25
- ### Install from npm registry
26
- Coming soon: installable with `npm install contracts-js`.
27
34
 
28
35
  ## Usage
29
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayapapa-npm/contracts-js",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Design by Contract utilities for JavaScript: preconditions, postconditions, and invariants.",
5
5
  "license": "MIT",
6
6
  "author": "ayapapa",