Question: Is there a way to get [ES6](https://github.com/lukehoban/es6features) in [sails.js](http://sailsjs.org/)?

Answer: 
Vishnu's answer has you covered.

The explicit list of ES6 features available in the latest node release is here <https://nodejs.org/en/docs/es6/>

> 
> Which ES6 features ship with Node.js by default (no runtime flag required)?
> 
> 
> 

* let (strict mode only)
* const
* function-in-blocks (strict mode only)
	+ As of v8 3.31.74.1, block-scoped declarations are intentionally implemented with a non-compliant limitation to strict mode code. Developers should be aware that this will change as v8 continues towards ES6 specification compliance.
* Classes (strict mode only)
* Collections
* Map
* WeakMap
* Set
* WeakSet
* Typed arrays
* Generators
* Binary and Octal literals
* Object literal extensions (shorthand properties and methods)
* Promises
* New String methods
* Symbols
* Template strings
* Arrow Functions
There is the [sails-hook-babel](https://github.com/sane/sails-hook-babel) hook that might work out for you. It doesn't work for me, as I explain below, but I hope it gets higher visibility, is improved, and then this answer will be more relevant.

Currently, as of v6.0.1 the library will work for files loaded after the sails hooks run. This means that if you want to use ES2015 in e.g. your `config/routes.js` file, you will get a syntax error. But as suggested in [this issue](https://github.com/sane/sails-hook-babel/issues/7), it should work for e.g. files in the `api` folder.