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

protocoluser

v0.0.4-a

Published

The most easy Authentication and User Management System for Node.js through MySQL Pooled Connections

Downloads

8

Readme

Protocoluser

STATUS: Current in Development, unusable.

Node.js is currently in ascension and everyday someone have needs to create a login API and a user's management system, through databases and session managers. We know that Passport exists, although it's a lot complicated and itsn't simple. So I've taked the decision to start the development of a new and unique system to give these resources as all in one. Welcome to the Protocoluser, I'll show to you all about it.

Why 'Protocoluser'? It's because I see the process of security, care and management of users and sessions as a PROTOCOL (it need to folllow rules, hard defined instructions and need to have a good protection against attacks, i.e. SQL INJECTION).

The Basic

  • MySQL Pooled Connections
  • Made and last updated to Node.js 7.8.x
  • Autogeneration of needed MySQL tables
  • No required data (i.e. for users), you'll only use what you want
  • Authentication API integrated
  • Session Manager API integrated
  • RESTFUL API integrated (see notes)

Authentication API

Authentication API allows you to register users, authenticate then, generate sessions and etc. You have a large control about the user's informations and you only need to put what you want, columns support null values.

We also have plans to offer a integrated system to recover password through tokens and mail sending. In future we wanna integrate with Phone SMS systems too, if anyone have API to.


You'll able to:

  • Register new users and validate their email address
  • Authenticate then and generate sessions with data you want
  • Delete existent users as well you can only update their accounts
  • Impersonate: join in any user account through tokens
  • Recover your losted passwords (or username, email, etc)
  • Delete inactive accounts or turn these invisible from appear in the queries
  • Ban (or lock, you choose how to call) user accounts permanently or by time
  • Suggestions? PM me through [email protected] or Telegram @Rynzerhold

We also have ALL needed endpoints done, but it's optional (if you have plans to use this with express, koa2, loopback or etc). If you wanna use it, you can; but if you wanna use your own, no one problem need to be expected. You're in control of all.

Session Manager API

We don't have any plans to reinvent the wheel.
  
We just pick some useful and powerful modules about sessions and changed what was needed to adapt it for us. We also integrated with MySQL Pooled Connections. I have plans to create a hook with the Redis system too in next releases, but not now.

Notes

If you wanna use the RESTFUL API, we offer a easy mode to do that: you'll just need to have Express, Koa2 or LoopBack (or any other from your personal preference).

Who am I?

My name is João Pedro Viana, also knowed as Rinzerhold or just Pitter. I'm 16 years old and I love to make softwares, since my 12 years old. I started learning about Java and today I have experience with 6+ programming languages. I'm from Brazil and I have experience with English and Espanhol too. I'll appreciate to talk with you, text me in Telegram @Rynzerhold

Donate

If you wanna support me, my PayPal is [email protected].