File: index.js

package info (click to toggle)
node-redent 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 128 kB
  • sloc: javascript: 19; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (8)
1
2
3
4
5
'use strict';
const stripIndent = require('strip-indent');
const indentString = require('indent-string');

module.exports = (string, count = 0, options) => indentString(stripIndent(string), count, options);