No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
5 additions and 
3 deletions
			 
			
		 
		
			
				- 
					
					
					 
					README.md
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -2,7 +2,9 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					## Infinity | 
					 | 
					 | 
					## Infinity | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					Create infinite lists in JavaScript. | 
					 | 
					 | 
					Create infinite linked lists in JavaScript. Each item is linked to the next and previous item. | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					This can also be used as an n<sup>th</sup> generator with a pure interface (see [example](#example)). | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					## Installation | 
					 | 
					 | 
					## Installation | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -15,7 +17,7 @@ npm install --save @codefeathers/infinity | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					In the browser: | 
					 | 
					 | 
					In the browser: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					```HTML | 
					 | 
					 | 
					```HTML | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					<script src="https://unpkg.com/@codefeathers/iseq"> | 
					 | 
					 | 
					<script src="https://unpkg.com/@codefeathers/infinity"> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					``` | 
					 | 
					 | 
					``` | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					## Usage | 
					 | 
					 | 
					## Usage | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -26,7 +28,7 @@ const infinity = new InfiniteList(<start>, <next>); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					// Gets item at index | 
					 | 
					 | 
					// Gets item at index | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					infinity.get(<index>); | 
					 | 
					 | 
					infinity.get(<index>); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					// Returns array of InfiniteListItems from index 0 to given number | 
					 | 
					 | 
					// Returns array of given number of InfiniteListItems from index 0 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					infinity.take(<number>); | 
					 | 
					 | 
					infinity.take(<number>); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					// Returns array of InfiniteListItems from index startIndex to endIndex | 
					 | 
					 | 
					// Returns array of InfiniteListItems from index startIndex to endIndex | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |