Socket
Socket
Sign inDemoInstall

a-record

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    a-record

Share specific help for adding DNS Records to a domain.


Version published
Maintainers
1
Install size
9.72 kB
Created

Readme

Source

A Record

Share specific help for adding DNS Records to a domain.

Getting started

To add A Record to your project’s dependencies, install it with npm:

npm install --save a-record

Now, you can require it and within you application:

var hosts = require("a-record");

From here, you might pass the data along to your templates so you can iterate through the entire list:

ul
  each host in hosts
    li: a(href="#{ host.arecord }") Add an A Record using #{ host.name }
    li: a(href="#{ host.cname }")   Add a CNAME using #{ host.name }

Or, provide specific instructions if you already know the nameserver:

console.log('Get help at: ' + host['namecheap.com'].arecord);
// Get help at http://www.namecheap.com/support/knowledgebase/article.aspx/319/78/

License

The MIT License (MIT)

Copyright © 2015 Kenneth Ormandy & Chloi Inc.

FAQs

Last updated on 11 Jan 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc