Added ES6 Import to README
This commit is contained in:
		
							parent
							
								
									7501617e1e
								
							
						
					
					
						commit
						c99e87b17d
					
				
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							@ -24,6 +24,20 @@ PawSQLite-Node-Adapter: [https://git.n0m.org/n0m/PawSQLite-Node-Adapter](https:/
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Usage
 | 
					## Usage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Importing:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ES6 Module:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```javascript
 | 
				
			||||||
 | 
					import { PawSQLite, PawSQLiteError } from "pawsqlite";
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					CommonJS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```javascript
 | 
				
			||||||
 | 
					const PawSQLite = require("pawsqlite");
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Registering an adapter:
 | 
					### Registering an adapter:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You must register at least one adapter before you can use PawSQLite
 | 
					You must register at least one adapter before you can use PawSQLite
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user