gulp-hsp-transpiler

raw JSON →
0.0.3 verified Fri May 01 auth: no javascript deprecated

Gulp plugin for transpiling Hashspace templates. Version 0.0.3, deprecated. Rarely updated, requires peer dependency 'hashspace'. Differentiator: integrates Hashspace transpilation into Gulp build pipelines, but lacks support beyond basic usage.

error Error: Cannot find module 'hashspace'
cause Peer dependency 'hashspace' not installed.
fix
npm install hashspace
deprecated Package is deprecated and unmaintained. No updates since initial release.
fix Consider migrating to an alternative solution or forking the repository.
gotcha Requires peer dependency 'hashspace' to be installed manually.
fix Run `npm install hashspace` in your project.
gotcha Usage example shows 'gulp-hsp-transpiler' but repository name is 'gulp-hsp-compiler'. Possible confusion.
fix Double-check the package name: use 'gulp-hsp-transpiler'.
npm install gulp-hsp-transpiler
yarn add gulp-hsp-transpiler
pnpm add gulp-hsp-transpiler

Basic Gulp task using gulp-hsp-transpiler to transpile Hashspace templates.

const gulp = require('gulp');
const hspTranspiler = require('gulp-hsp-transpiler');

gulp.task('default', function() {
    gulp.src('src/**/*.js')
        .pipe(hspTranspiler())
        .pipe(gulp.dest('dist'));
});

// Ensure 'hashspace' is installed as a dependency.