@nodesecure/authors
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

NodeSecure authors

version Maintenance mit build NodeSecure (npm) authors analysis package

Requirements

Getting Started

This package is available in the Node Package Repository and can be easily installed with npm or yarn.

$ npm i @nodesecure/authors
# or
$ yarn add @nodesecure/authors

Usage example

import { extractAllAuthorsFromLibrary } from "@nodesecure/authors";

const flaggedAuthors = [
  { name: "Blake Embrey", email: "hello@blakeembrey.com" }
];

const authors = extractAllAuthorsFromLibrary(library, flaggedAuthors);
// Expect authors to be following this schema
// [
//   {
//     name: "Blake Embrey",
//     email: "hello@blakeembrey.com",
//     flagged: true,
//     packages: [
//       {
//         homepage: "https://github.com/blakeembrey/array-flatten",
//         spec: "array-flatten",
//         versions: "3.0.0",
//         isPublishers: false
//       },
//       {
//         homepage: "https://github.com/pillarjs/path-to-regexp#readme",
//         spec: "path-to-regexp",
//         versions: "6.2.0",
//         isPublishers: true
//       }
//   }
// ]

API

TBC

Contributors

All Contributors

Thanks goes to these wonderful people (emoji key):


Vincent Dhennin

💻 👀 📖 🐛

Nicolas Hallaert

👀

License

MIT

Package Sidebar

Install

npm i @nodesecure/authors

Weekly Downloads

53

Version

1.0.2

License

MIT

Unpacked Size

13.2 kB

Total Files

7

Last publish

Collaborators

  • pierred
  • antoine-coulon
  • kawacrepe
  • fraxken
  • tonygo