You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github.com/darcyclarke/reproduce/actions/workflows/lint.yml)
7
+
5
8
Can we reproduce a package with the _"origin"_ information provided?
6
9
7
10
**[Features](#features)**
@@ -36,6 +39,15 @@ Can we reproduce a package with the _"origin"_ information provided?
36
39
37
40
### Usage
38
41
42
+
```bash
43
+
$ npm i -g reproduce # install globally
44
+
$ reproduce axios
45
+
```
46
+
47
+
```bash
48
+
$ npx reproduce axios # execute with npx
49
+
```
50
+
39
51
```js
40
52
importreproducefrom'reproduce'
41
53
@@ -54,15 +66,15 @@ const result = await reproduce('package-name', {
54
66
#### CLI
55
67
56
68
```bash
57
-
npx reproduce tsc # exit code 0 - reproducible
69
+
reproduce tsc # exit code 0 - reproducible
58
70
```
59
71
60
72
```bash
61
-
npx reproduce esbuild # exit code 1 - not reproducible
73
+
reproduce esbuild # exit code 1 - not reproducible
@@ -129,9 +148,9 @@ The cache is stored in OS-specific locations:
129
148
130
149
A strategy is a set of operations to take to recreate a package. Strategies should represent common patterns for preparing/building/packing packages to cast wide nets. If a set successfully recreates a package then its ID will be stored inside the returned metadata.
0 commit comments