Sha256: c9c4c714f1cd4e2e3ca4ca0fd6470a3ce0a4718a65b9172ba7e0d8efe4fcebad

Contents?: true

Size: 295 Bytes

Versions: 39

Compression:

Stored size: 295 Bytes

Contents

var utils = require('../utils');

/**
 * Like `unquote` but tries to convert
 * the given `str` to a Stylus node.
 *
 * @param {String} str
 * @return {Node}
 * @api public
 */

module.exports = function convert(str){
  utils.assertString(str, 'str');
  return utils.parseString(str.string);
};

Version data entries

39 entries across 20 versions & 2 rubygems

Version Path
ela-4.1.6 node_modules/stylus/lib/functions/convert.js
ela-4.1.6 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-4.1.5 node_modules/stylus/lib/functions/convert.js
ela-4.1.5 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-4.1.4 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-4.1.4 node_modules/stylus/lib/functions/convert.js
ela-4.1.3 node_modules/stylus/lib/functions/convert.js
ela-4.1.3 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-4.1.2 node_modules/stylus/lib/functions/convert.js
ela-4.1.2 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-4.1.1 node_modules/stylus/lib/functions/convert.js
ela-4.1.1 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-4.1.0 node_modules/stylus/lib/functions/convert.js
ela-4.1.0 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-4.0.0 node_modules/stylus/lib/functions/convert.js
ela-4.0.0 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-3.4.3 node_modules/stylus/lib/functions/convert.js
ela-3.4.3 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-3.4.2 node_modules/nib/node_modules/stylus/lib/functions/convert.js
ela-3.4.2 node_modules/stylus/lib/functions/convert.js