Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

feat: updates multihash table #76

Merged
merged 2 commits into from
Apr 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Protocol Labs Inc.
Copyright (c) 2020 Protocol Labs Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ so give those a look as well.

## Lead Maintainer

[David Dias](http://github.com/diasdavid/)
[Hugo Dias](http://github.com/hugomrdias/)

## Table of Contents

Expand Down Expand Up @@ -84,6 +84,15 @@ You will need to use Node.js `Buffer` API compatible, if you are running inside

https://multiformats.github.io/js-multihash/

## Update Constants

To update the constants table run the command below. This will fetch the main codec list from https://raw.githubusercontent.com/multiformats/multicodec/master/table.csv and filter only the multihash codecs and update the `constants.js` file in this repo.

```sh
npm run update-constants
```


## Contribute

Contributions welcome. Please check out [the issues](https://github.com/multiformats/js-multihash/issues).
Expand All @@ -94,4 +103,4 @@ Small note: If editing the README, please conform to the [standard-readme](https

## License

[MIT](LICENSE) © 2016 Protocol Labs Inc.
[MIT](LICENSE) © Protocol Labs Inc.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "multihashes",
"version": "0.4.19",
"description": "multihash implementation",
"leadMaintainer": "David Dias <[email protected]>",
"leadMaintainer": "Hugo Dias <[email protected]>",
"main": "src/index.js",
"scripts": {
"lint": "aegir lint",
Expand All @@ -15,7 +15,8 @@
"release-minor": "aegir release --type minor --docs",
"release-major": "aegir release --type major --docs",
"coverage": "aegir coverage",
"coverage-publish": "aegir coverage --provider coveralls"
"coverage-publish": "aegir coverage --provider coveralls",
"update-constants": "node update-constants.js"
},
"files": [
"src",
Expand All @@ -33,15 +34,15 @@
"url": "https://github.com/multiformats/js-multihash/issues"
},
"dependencies": {
"buffer": "^5.5.0",
"buffer": "^5.6.0",
"multibase": "^0.7.0",
"varint": "^5.0.0"
},
"devDependencies": {
"aegir": "^21.4.4",
"aegir": "^21.9.0",
"chai": "^4.1.2",
"dirty-chai": "^2.0.1",
"pre-commit": "^1.2.2"
"ipfs-utils": "^2.2.0"
},
"contributors": [
"David Dias <[email protected]>",
Expand Down
Loading