mirror of
				https://github.com/actions/setup-node.git
				synced 2025-10-26 23:36:44 +08:00 
			
		
		
		
	
		
			
				
	
	
	
		
			536 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			536 B
		
	
	
	
	
	
	
	
strip-eof 
Strip the End-Of-File (EOF) character from a string/buffer
Install
$ npm install --save strip-eof
Usage
const stripEof = require('strip-eof');
stripEof('foo\nbar\n\n');
//=> 'foo\nbar\n'
stripEof(new Buffer('foo\nbar\n\n')).toString();
//=> 'foo\nbar\n'
License
MIT © Sindre Sorhus