Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardonunesdev committed Jul 29, 2017
1 parent 53e845d commit 938e8e7
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 58 deletions.
59 changes: 1 addition & 58 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,59 +1,2 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

domains.js
5 changes: 5 additions & 0 deletions domains-sample.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

module.exports = [
'google.com'
];
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

let domains = require('./domains');

domains.forEach((domain) => {
console.log('Domain: '+domain);
});
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "nodejs-domain-pinger",
"version": "0.0.1",
"description": "NodeJS script that pings a list of domains",
"main": "index.js",
"license": "MIT",
"author": {
"name": "Ricardo Nunes",
"url": "https://github.com/ricardonunesdev"
},
"scripts": {
"start": "node index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ricardonunesdev/nodejs-domain-pinger.git"
},
"homepage": "https://github.com/ricardonunesdev/nodejs-domain-pinger#readme",
"bugs": {
"url": "https://github.com/ricardonunesdev/nodejs-domain-pinger/issues"
}
}

0 comments on commit 938e8e7

Please sign in to comment.