End-to-end encrypted personal data storage library for web applications
  • TypeScript 100%
Find a file
Robby Shaw 89dbe39a28
Some checks failed
build / build (10.x) (push) Has been cancelled
build / build (12.x) (push) Has been cancelled
build / build (6.x) (push) Has been cancelled
build / build (8.x) (push) Has been cancelled
Added padding and unpadding
2020-04-17 06:42:40 -05:00
.github/workflows Cleaned up README 2020-04-13 07:16:12 -05:00
src Added padding and unpadding 2020-04-17 06:42:40 -05:00
test Added padding and unpadding 2020-04-17 06:42:40 -05:00
tools Initial commit 2020-04-12 17:35:00 -05:00
.gitignore Initial commit 2020-04-12 17:35:00 -05:00
ARCHITECTURE.md Added crypto for encryption 2020-04-16 06:46:41 -05:00
code-of-conduct.md Initial commit 2020-04-12 17:35:00 -05:00
CONTRIBUTING.md Initial commit 2020-04-12 17:35:00 -05:00
LICENSE Initial commit 2020-04-12 17:35:00 -05:00
package.json Added crypto for encryption 2020-04-16 06:46:41 -05:00
README.md Added basic underlying architecture 2020-04-13 22:59:44 -05:00
rollup.config.ts Initial commit 2020-04-12 17:35:00 -05:00
TODO.md Cleaned up README 2020-04-13 07:16:12 -05:00
tsconfig.json Initial commit 2020-04-12 17:35:00 -05:00
yarn.lock Added crypto for encryption 2020-04-16 06:46:41 -05:00

e2e-vault

Give your web app users private, secure data storage in the platform of their choice

BuildCoverallsDev Dependencies

styled with prettier

Usage

yarn add e2e-vault
# or #
npm install e2e-vault

Development

  • yarn test: Run test suite
  • yarn test:watch: Run test suite and watch for changes
  • yarn test:prod: Run linting and generate coverage
  • yarn build: Generate bundles and typings, create docs
  • yarn lint: Lints code
  • yarn commit: Commit using conventional commit style (husky will tell you to use it if you haven't 😉)

Tooling

Excluding peerDependencies

On library development, one might want to set some peer dependencies, and thus remove those from the final bundle. You can see in Rollup docs how to do that.

Good news: the setup is here for you, you must only include the dependency name in external property within rollup.config.js. For example, if you want to exclude lodash, just write there external: ['lodash'].

Automatic releases

Prerequisites: you need to create/login accounts and add your project to:

Prerequisite for Windows: Semantic-release uses node-gyp so you will need to install Microsoft's windows-build-tools using this command:

npm install --global --production windows-build-tools

Git Hooks

There is already set a precommit hook for formatting your code with Prettier 💅

By default, there are two disabled git hooks. They're set up when you run the npm run semantic-release-prepare script. They make sure:

This makes more sense in combination with automatic releases

Contributors

This project follows the all-contributors specification. Contributions of any kind are welcome!