Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lets-get-meta

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lets-get-meta

Extract meta tags from an HTML string in Node.js (not browsers)

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
222
decreased by-14.94%
Maintainers
1
Weekly downloads
 
Created
Source

lets-get-meta

Extract meta tags from an HTML string in Node.js (not browsers)

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install lets-get-meta --save

Usage

var getMeta = require("lets-get-meta")

// Pass and HTML string
getMeta("<meta name='page' content='index'><meta name='description' content='This is the index page'>")

// Get back an object
{
  page: "index",
  description: "This is the index page"
}

Tests

npm install
npm test

Dependencies

  • cheerio: Tiny, fast, and elegant implementation of core jQuery designed specifically for the server

Dev Dependencies

  • mocha: simple, flexible, fun test framework

License

MIT

Generated by package-json-to-readme

Keywords

FAQs

Package last updated on 26 Jan 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