We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have example.js:
example.js
const fs = require('fs'); const indent = require('indent.js'); const data = fs.readFileSync('./index.js', 'utf8'); console.log(data); console.log(indent.js(data, {tabString: 4}));
When I run it, I see:
(function(mod) { 'use strict'; if (typeof exports === 'object' && typeof module === 'object') // CommonJS mod(require('../../lib/codemirror')); else if (typeof define === 'function' && define.amd) // AMD define(['../../lib/codemirror'], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { }); (function(mod) { 'use strict'; if (typeof exports === 'object' && typeof module === 'object') // CommonJS mod(require('../../lib/codemirror')); else if (typeof define === 'function' && define.amd) // AMD define(['../../lib/codemirror'], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { });
Would be great to have ability not add windows line endings:
The text was updated successfully, but these errors were encountered:
Here is possible solution align-spaces.
Sorry, something went wrong.
No branches or pull requests
I have
example.js
:When I run it, I see:
Would be great to have ability not add windows line endings:
The text was updated successfully, but these errors were encountered: