New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

dinopass-node

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dinopass-node

Simple DinoPass API client. Awesome password generator for kids, and apparently middle aged IT guys.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

dinopass-node

npm Build Status Coverage Status GitHub

NPM

A very simple promise based API client written in TypeScript for dinopass.com, an awesome password generator for kids and apparently middle aged IT guys.

About Dino's Passwords What does 'Simple password' mean?

Simple passwords only have lower case letters and numbers. They are easier to remember but might also be easier for someone else to guess. What does 'Strong password' mean?

Strong passwords have mixed upper and lower case letters, a special character (like @, $, ! and so on) plus some numbers. They are best to use for important things like email accounts.

Install

npm install dinopass-node

Node.js

const DinoPass = require('dinopass-node');

// Using async/await

;(async () => {
const passwords = await DinoPass.strong(1)
console.log(passwords)  // ['paleOl!ve66']
})();

// Promise

DinoPass.simple(1)
.then(p => console.log(p)); // ['crazypromise32']

ES6

import * as DinoPass from 'dinopass-node';

DinoPass.simple(1)
.then(p => console.log(p)); // ['crazypromise32']

CDN

For CDN, you can use unpkg, requires dependency axios

https://unpkg.com/dinopass-node/dist/dinopass.min.js

<body>
  <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  <script src="https://unpkg.com/dinopass-node/dist/dinopass.min.js"></script>
  <script>
    DinoPass.simple().then(p => console.log(p));  //["ultrabrowser52"]
  </script>
</body>

Keywords

dinopass

FAQs

Package last updated on 30 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts