Package Exports
- align-spaces
- align-spaces/lib/align-spaces.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (align-spaces) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Align Spaces

Align spaces on empty lines of a source code.
Install
npm i align-spaces -gUsage
align-spaces unaligned.jsAPI
align-spaces can be used as a library:
const alignSpaces = require('align-spaces');
alignSpaces(`
const t = 'hello';
module.exports = () => {
cosnt m = 'world';
return t + m;
};
`);
// returns
`
const t = 'hello';
module.exports = () => {
cosnt m = 'world';
....
return t + m;
};
`;Related
- eslint-remove-line -
eslint --fixfor unused variables. - putout - the pluggable code transformer.
License
MIT