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

pacscryptography

v1.2.0

Published

```bash for applications that will be using via npm run this command on you front end application if you are having npm npm install git://github.com/visionmedia/express.git ```

Downloads

2

Readme

Installation.

Getting Started

how to build this project when updating algorithm

npm install webpack webpack-cli babel-loader @babel/core @babel/preset-env --save-dev
npx webpack --config webpack.config.js

this will create bundle.js file on dist folder.
bundle.js created from dist folder will be moved to specific project and be injected

note that bundle.js created from dist folder will be moved to specific project and be injected

how to inject bundle.js on javascript, sample code snippet here

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Simple HTML with JavaScript</title>
</head>
<body>
    <header>
        <h1>Simple HTML with JavaScript</h1>
    </header>
    
    <main>
        <section>
            <h2>Click the Button</h2>
            <p id="demo">Open console for the result.</p>
            text To encrypt:  <input id="decryptedText" type="text" />
            <button id="myButton" onclick="changeText()">Click Me</button>
        </section>
    </main>
    
    <footer>
        <p>&copy; 2023 My Simple Website</p>
    </footer>

    <script src="bundle.js"></script>
    <script>
        // open browser console while playing
            let pem =
      "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAtjsH5VUv0mVVJs4o7lND\nmNYMNxUdYD3CNsQj3QXAqKcJM9IwCym24dygT3gFKPPcqdvRoSt8OzpIJk9bMZEH\nE30V9Mjl90gH3f7D3/uRvrZypxgHbUIF4HNv6R6UNY2MTgD6mPbRy5HO8sidxgQa\nLmt+6wSXG5+QVaDwhBWdyV38NiUWpZBjWWX3U7CCDlR5gb3EM3okUu0/AwkuU3Kq\nW0roAqsz9YIFGmn9RRk88PP4XasEj5S+uIOIQ3QtiCYE88l7jnHFQbS604bt90+s\n5VOUFkf5R0xsIGn3kylXMQmMwurOlsozkiAUHbDNXNmdOTFBGhFO9/Stjzzuzj06\nSOxwElFGN7bl1HN7qW4xBaHDap85GrwxRUBJ4tDiTzCUN1vTG7GytM3rLJiuH0OE\na+9/CGiSYRazxpJ3cNyUI52k8jZg2dudZZXjJvcQfpKVMBIKddUR0TihZdoa4RA8\nkKMk2LefaDR1Pg/wKspCEYk9X+1h8ioE6XXvryrUaLNcRd7iiMdCAogKGvqQJDGg\nv0hRy0KoedO9cYmUdB9TJhqyWjKdkDEUAoNFzv5MlGBxceTXf+bl2tgP2fKWD/Zs\n+6WFHjxhYEbzHRAJhrS8wnGdFwcjwOYgin7ven/c5jU5ytPicxeVx+krlG7mXe7B\nmtSgG/H6eYs3XuOjdUZ71+ECAwEAAQ==\n-----END PUBLIC KEY-----\n";

      
            var myObjectInstance = new PACSCryptography(pem);

        function changeText() {
            const val = document.getElementById('decryptedText').value;

            console.log('val',val)

            var cipherObject = myObjectInstance.encrypt(val);

            console.log(cipherObject)
        }
    </script>
</body>
</html>

todo

make this automated and installed on npm repo or what.