@napi-rs/triples 1.0.0 → 1.1.0

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.
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # `@napi-rs/triples`
2
2
 
3
+ [![install size](https://packagephobia.com/badge?p=@napi-rs/triples)](https://packagephobia.com/result?p=@napi-rs/triples)
4
+ [![Downloads](https://img.shields.io/npm/dm/@napi-rs/triples.svg?sanitize=true)](https://npmcharts.com/compare/@napi-rs/triples?minimal=true)
5
+
3
6
  > Rust build triples definitions
4
7
 
5
8
  ## Usage
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export interface Triple {
1
+ interface Triple {
2
2
  platform: string
3
3
  arch: string
4
4
  abi: string | null
@@ -6,12 +6,8 @@ export interface Triple {
6
6
  raw: string
7
7
  }
8
8
 
9
- declare const Triples: Triple[] & {
10
- platformArchTriples: {
11
- [index: string]: {
12
- [index: string]: Triple
13
- }
9
+ export const platformArchTriples: {
10
+ [index: string]: {
11
+ [index: string]: Triple[]
14
12
  }
15
13
  }
16
-
17
- export = Triples