npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@isitayush/cryption

v0.0.9

Published

Cryption provides a higher level wrapper around crypto.subtle API.

Downloads

13

Readme

Cryption

yarn add @isitayush/cryption

"Cryption" is a "frontend-only" lightweight, higher level wrapper around the crypto.subtle API. It provides some convenient function's by wrapping low-level Subtle API for an average regular developer like me to understand & use cryptography in daily life project's. It just works. <3

  • Make sure you're on a HTTPS. In the local-dev environment, you can use local-ssl-proxy to workaround this issue.
  • This is a browser-only library as it relies on the crypto.subtle API. It won't work in Node.js.

Note: DO NOT USE THIS IN PRODUCTION. This library is still in development and is an alpha stage. If you intend to use it, please do so at your own risk.. I'm not a security expert and I'm not responsible for bringing your prod down. : )

I built this as it's too hard to scroll the docs for my fellow grug developer's. : )

How to use

You can checkout the examples folder for examples. I will add more examples in the future.

Development

  • yarn install to install all dependencies.
  • yarn test to run the tests.

Contribution

Please read the CONTRIBUTING.md file for submitting pull requests to the project. If you want to become a maintainer, drop me a message on twitter @is_it_ayush. I will add you as a maintainer. Thank You! I appreciate your help in improving the quality of the documentation and code and the repository. 💙

Roadmap

| Status | Description | Currently Supported | Planned | | :----------------: | :------------------------------------- | :-------------------------------------: | :------------: | | :white_check_mark: | AES support. | CBC, CTR, GCM | KW, CMAC | | :white_check_mark: | RSA support. | OAEP | - | | :white_check_mark: | Signature generation and verification. | HMAC, RSASSA-PKCS1-v1_5, ECDSA, RSA-PSS | - | | :white_check_mark: | Key derivation | PBKDF2, HKDF, SCRYPT | - | | :white_check_mark: | Key generation. | AES, HMAC, RSA | ECDSA, RSA-PSS | | 🛋️ | Got More Ideas? Write an issue. | AES | - |

I've plans to make it a lot easier with syntax such as cryption.keys.generate and cryption.encrypt.aes. I'll also add support for more algorithms. Contributions, Suggestions, Tips, Ideas are always heartily welcome. : )

Heartbeat

Roadmap was last updated on 30/12/2022 10:47 pm GMT.

Note: This is a personal project and I'm not working on it full-time. I'll try to work on it in my free time. : )

License

This project is licensed under the MIT License, see the LICENSE file for details.

Sources

If you want to know more about the crypto.subtle API, please check the

  • MDN documentation.
  • W3C documentation.