How to use the vinyl.isCustomProp function in vinyl

To help you get started, we’ve selected a few vinyl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github amtrack / force-dev-tool / lib / metadata-file.js View on Github external
MetadataFile.isCustomProp = function(name) {
	return File.isCustomProp(name) && builtInProps.indexOf(name) === -1;
};
github jgable / gulp-cache / src / index.js View on Github external
Object.keys(restored).forEach((key) => {

		if (File.isCustomProp(key)) {
			restoredFile[key] = restored[key];
		}
	});
github jgable / gulp-cache / index.js View on Github external
Object.keys(restored).forEach(function(key) {
      if (File.isCustomProp(key)) {
        restoredFile[key] = restored[key];
      }
    });

vinyl

Virtual file format.

MIT
Latest version published 2 years ago

Package Health Score

74 / 100
Full package analysis