You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					19 lines
				
				346 B
			
		
		
			
		
	
	
					19 lines
				
				346 B
			| 
								 
											3 years ago
										 
									 | 
							
								"use strict";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const parse = require("./parse");
							 | 
						||
| 
								 | 
							
								const stringify = require("./stringify");
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const fastQuerystring = {
							 | 
						||
| 
								 | 
							
								  parse,
							 | 
						||
| 
								 | 
							
								  stringify,
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Enable TS and JS support
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * - `const qs = require('fast-querystring')`
							 | 
						||
| 
								 | 
							
								 * - `import qs from 'fast-querystring'`
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								module.exports = fastQuerystring;
							 | 
						||
| 
								 | 
							
								module.exports.default = fastQuerystring;
							 |