1
1
# Metadata-helpers
2
2
3
- [ ![ npm version] ( https://badge.fury.io/js/%40toruslabs%2Fmetadata-helpers.svg )] ( https://badge.fury.io/js/%40toruslabs%2Fmetadata-helpers )
4
- ![ npm] ( https://img.shields.io/npm/dw/@toruslabs/metadata-helpers )
3
+ ![ Build Status] ( https://github.com/torusresearch/metadata-helpers/actions/workflows/master.yml/badge.svg )
4
+
5
+ [ ![ npm downloads] ( https://img.shields.io/npm/dm/@toruslabs/metadata-helpers.svg?style=flat-square )] ( https://www.npmjs.com/package/@toruslabs/metadata-helpers )
6
+
7
+ [ ![ NPM] ( https://nodei.co/npm/@toruslabs/metadata-helpers.png )] ( https://www.npmjs.com/package/@toruslabs/metadata-helpers )
5
8
6
9
## Introduction
7
10
@@ -18,10 +21,9 @@ This repo allow you to get and set metadata
18
21
19
22
This module is distributed in 3 formats
20
23
21
- - ` commonjs ` build ` dist/metadataHelpers.cjs .js ` in es5 format
22
- - ` commonjs ` build ` dist/metadataHelpers-bundled .cjs.js ` in es5 format with problematic packages bundled (benfits non-webpack users)
24
+ - ` ems ` build ` dist/metadataHelpers.esm .js ` in es5 format
25
+ - ` commonjs ` build ` dist/metadataHelpers.cjs.js ` in es5 format with problematic packages bundled (benfits non-webpack users)
23
26
- ` umd ` build ` dist/metadataHelpers.umd.min.js ` in es5 format without polyfilling corejs minified
24
- - ` umd ` build ` dist/metadataHelpers.polyfill.umd.min.js ` in es5 format with polyfilling corejs minified
25
27
26
28
By default, the appropriate format is used for your specified usecase
27
29
You can use a different format (if you know what you're doing) by referencing the correct file
@@ -56,12 +58,11 @@ Add [`@toruslabs/metadata-helpers`](https://www.npmjs.com/package/@toruslabs/met
56
58
To allow your web app to retrieve keys:
57
59
58
60
Install the package
59
- ` npm i @toruslabs/metadata-helpers `
60
- or
61
- ` yarn add @toruslabs/metadata-helpers `
61
+ ` npm i @toruslabs/metadata-helpers `
62
+ or
63
+ ` yarn add @toruslabs/metadata-helpers `
62
64
63
65
## Requirements
64
66
65
67
- This package requires a peer dependency of ` @babel/runtime `
66
- - Node 14+
67
-
68
+ - Node 18+
0 commit comments