commit 1289b87e8f88d4aec2cd8f54fe7be97c0188b7f0 Author: Luke Childs Date: Tue Dec 3 12:15:44 2019 +0700 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9ffa5e7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +yarn.lock +package-lock.json +node_modules +.nyc_output +npm-debug.log diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..43c97e7 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +package-lock=false diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8f1fd3a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js +node_js: lts/* +script: npm test +after_success: npm run coverage +notifications: + email: + on_success: never diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a4daae1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Luke Childs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8ab9a3c --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# bip39-versioned + +> Proof of concept adding versioning to BIP39 compatible seeds + +[![Build Status](https://travis-ci.com/lukechilds/bip39-versioned.svg?branch=master)](https://travis-ci.com/lukechilds/bip39-versioned) +[![Coverage Status](https://coveralls.io/repos/github/lukechilds/bip39-versioned/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/bip39-versioned?branch=master) +[![npm](https://img.shields.io/npm/v/bip39-versioned.svg)](https://www.npmjs.com/package/bip39-versioned) + +## Install + +```shell +npm install bip39-versioned +``` + +## License + +MIT © Luke Childs diff --git a/package.json b/package.json new file mode 100644 index 0000000..7775a52 --- /dev/null +++ b/package.json @@ -0,0 +1,27 @@ +{ + "name": "bip39-versioned", + "version": "0.0.0", + "main": "src/index.js", + "files": [ + "src" + ], + "description": "Proof of concept adding versioning to BIP39 compatible seeds", + "license": "MIT", + "repository": "lukechilds/bip39-versioned", + "author": "Luke Childs (https://lukechilds.co.uk)", + "scripts": { + "test": "xo && nyc ava", + "coverage": "nyc report --reporter=text-lcov | coveralls" + }, + "keywords": [ + "bitcoin", + "cryptocurrency", + "bip39" + ], + "devDependencies": { + "ava": "^2.4.0", + "coveralls": "^3.0.8", + "nyc": "^14.1.1", + "xo": "^0.25.3" + } +} diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..47b700f --- /dev/null +++ b/src/index.js @@ -0,0 +1,3 @@ +const bip39 = () => {}; + +module.exports = bip39; diff --git a/test/unit.js b/test/unit.js new file mode 100644 index 0000000..9c7eaef --- /dev/null +++ b/test/unit.js @@ -0,0 +1,6 @@ +import test from 'ava'; +import bip39 from '..'; + +test('bip39 is exported', t => { + t.not(bip39, undefined); +});