cname

0.1.1¬†‚Äʬ†Public¬†‚Äʬ†Published

CNAME - Create a CNAME file from package data.

Create a CNAME file from package data.

Travis Status AppVeyor Status Codacy Status Coverage Status devDependencies Status Version Status Download Status Gitter Chat

Why it's awesome

Install this package npm with -g to global use or with -D to add the package as a devDependency in the package.json file of your project. This lib reads the package.json files to get the homepage value, then creates the CNAME file with that value.

Install

Install with npm

$ npm install cname --global

Install with Yarn

$ yarn install cname --global

Usage

$ cname --help

  Usage:

    $ cname <directory> [<options>]

  Options:

    -h, --help              Display help information
    -v, --version           Output version

  Examples:

    $ cname dist

Example

From package data..

// package.json
{
  "name": "milligram",
  "version": "1.5.0",
  "description": "A minimalist CSS framework.",
  "homepage": "https://milligram.io",
  "repository": "milligram/milligram",
  "license": "MIT",
  "author": "CJ Patoilo <cjpatoilo@gmail.com>",
  "main": "dist/milligram.css"
}

..to create CNAME file.

// CNAME
milligram.io

Contributing

Want to contribute? Follow these recommendations.

License

Designed with ‚ô• by CJ Patoilo. Licensed under the MIT License.

Package Sidebar

Install

npm i cname

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

5.93 kB

Total Files

5

Last publish

Collaborators

  • cjpatoilo