diff --git a/index.js b/index.js new file mode 100644 index 0000000..33ce767 --- /dev/null +++ b/index.js @@ -0,0 +1,9 @@ +/** + * Parses inline style to object. + * + * @param {String} style + * @return {Object|null} + */ +module.exports = function parseInlineStyle(style) { + if (!style || typeof style !== 'string') return null; +}