From 4fb2e849498edc8e4816bf12213cca4aded581a4 Mon Sep 17 00:00:00 2001 From: Nico Castro Date: Fri, 12 Feb 2016 15:38:22 +0000 Subject: [PATCH] empty string --- index.js | 1 + string.js | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 string.js diff --git a/index.js b/index.js index 1ee3a66..5958f85 100644 --- a/index.js +++ b/index.js @@ -2,6 +2,7 @@ exports.object = require('./object'); exports.array = require('./array'); +exports.string = require('./string'); exports.func = require('./function'); exports.functionThatReturns = require('./functionThatReturns'); exports.functionThatReturnsTrue = require('./functionThatReturnsTrue'); diff --git a/string.js b/string.js new file mode 100644 index 0000000..8d760c7 --- /dev/null +++ b/string.js @@ -0,0 +1,7 @@ +'use strict'; + +module.exports = ''; + +if ('production' != process.env.NODE_ENV) { + Object.freeze(module.exports); +}