mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	docs(chore): remove spacing, change 'node' -> Node.js
This commit is contained in:
		
							parent
							
								
									bae672e5d8
								
							
						
					
					
						commit
						1241827b6a
					
				@ -92,7 +92,7 @@ Front-end client SDKs don't evaluate strategies directly, so you need to impleme
 | 
				
			|||||||
Strategies are stored in separate JavaScript files and loaded into the container at startup. Refer to [the Unleash Proxy documentation](../sdks/unleash-proxy.md) for a full overview of all the options.
 | 
					Strategies are stored in separate JavaScript files and loaded into the container at startup. Refer to [the Unleash Proxy documentation](../sdks/unleash-proxy.md) for a full overview of all the options.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1. **Create a strategies directory.** Create a directory that Docker has access to where you can store your strategies. The next steps assume you called it `strategies`
 | 
					1. **Create a strategies directory.** Create a directory that Docker has access to where you can store your strategies. The next steps assume you called it `strategies`
 | 
				
			||||||
2. **Initialize a node project** and **install the Unleash Client**:
 | 
					2. **Initialize a Node.js project** and **install the Unleash Client**:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   ``` shell
 | 
					   ``` shell
 | 
				
			||||||
   npm init -y && \
 | 
					   npm init -y && \
 | 
				
			||||||
@ -131,13 +131,10 @@ Strategies are stored in separate JavaScript files and loaded into the container
 | 
				
			|||||||
       -p 3000:3000 --network unleash unleashorg/unleash-proxy
 | 
					       -p 3000:3000 --network unleash unleashorg/unleash-proxy
 | 
				
			||||||
   ```
 | 
					   ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### When running the proxy with node {#step-3-b-node}
 | 
					#### When running the proxy with Node.js {#step-3-b-node}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The Unleash Proxy accepts a `customStrategies` property as part of its initialization options. Use this to pass it initialized strategies.
 | 
					The Unleash Proxy accepts a `customStrategies` property as part of its initialization options. Use this to pass it initialized strategies.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1. **Install the `unleash-client` package**. You'll need this to implement the custom strategy:
 | 
					1. **Install the `unleash-client` package**. You'll need this to implement the custom strategy:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   ``` shell
 | 
					   ``` shell
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user