Socket
Socket
Sign inDemoInstall

parse-author

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-author

Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.


Version published
Maintainers
2
Created

What is parse-author?

The parse-author npm package is a utility for parsing author strings in package.json files. It helps in extracting structured information such as name, email, and URL from a single author string.

What are parse-author's main functionalities?

Parse Author String

This feature allows you to parse a single author string into an object containing the name, email, and URL. The code sample demonstrates how to use the parse-author package to parse an author string and log the resulting object.

const parseAuthor = require('parse-author');
const author = 'John Doe <john.doe@example.com> (http://johndoe.com)';
const parsed = parseAuthor(author);
console.log(parsed);

Other packages similar to parse-author

Keywords

FAQs

Package last updated on 08 Mar 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc