From b007f3d21479c4a80e150ba872db88f1eede75d0 Mon Sep 17 00:00:00 2001 From: jonschlinkert Date: Sat, 19 Mar 2016 12:52:28 -0400 Subject: [PATCH] adds example --- example.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 example.js diff --git a/example.js b/example.js new file mode 100644 index 0000000..6ee3ba2 --- /dev/null +++ b/example.js @@ -0,0 +1,17 @@ +'use strict'; + +var parse = require('./'); +var config = { + 'remote "origin"': { + url: 'https://github.com/jonschlinkert/normalize-pkg.git', + fetch: '+refs/heads/*:refs/remotes/origin/*' + }, + 'branch "master"': { + remote: 'origin', merge: 'refs/heads/master' + }, + 'branch "dev"': { + remote: 'origin', merge: 'refs/heads/dev', rebase: true + } +}; + +console.log(parse.keys(config));