# jade-babel **Repository Path**: mirrors_babel/jade-babel ## Basic Information - **Project Name**: jade-babel - **Description**: Jade plugin for Babel - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #Jade-babel This is a simple module which adds a babel (ES6 to ES5) filter to jade. ##Installation $ npm install jade-babel ##Usage ```js var jade = require('jade'); var babel = require('jade-babel'); jade.filters.babel = babel({}); ``` OR ```js var jade = require('jade'); var babel = require('jade-babel'); jade = babel({}, jade); ``` Now you can use ES6 in your jade templates as following. ```jade script :babel console.log('Hello World !!!'); class Person{ constructor(name){ this.name = name; } sayName(){ console.log(`Hello, my name is ${this.name}`); } } var pers = new Person('Apoxx'); pers.sayName(); ```