Syringa ·
![npm version](https://camo.githubusercontent.com/2e2d5fd984e271fbb2983f4a376743fb647e51d2685566e1d4d136edec375307/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f72656163742e7376673f7374796c653d666c6174)
Syringa is a live injector for frontend development in the browser
- Quick: You can develop with your own editor instead of developing on console with Syringa.
- Live: Inject your code into web pages with the live reload feature.
- Auto-Load: It can work without loading extension.
Via npm:
npm install -g syringa
If you get an error like this: EACCES: permission denied. The following codes may be useful for you.
-
Installation:
sudo npm install -g syringa
-
Change Owner:
sudo chown -R $USER $(echo $(npm root -g)/syringa)
-
Create project:
syringa create [projectName] cd [projectName]
-
Edit your code and configuration file(.syringarc.json)
-
Run project: ( In project directory )
syringa run
-
Auto-Load: ( if you have not installed syringa extension in your browser )
syringa run --auto-load
-
If npm is installed
npm install -g syringa && syringa create hi-syringa && cd hi-syringa && syringa run --auto-load
- Open the extensions page url("chrome://extensions") in the browser.
- Turn on the Developer mode.
- Click on the Load unpacked button and select the syringa extension directory.
-
Get extension path:
echo "$(npm root -g)/syringa/extension"
-
If you want to use syringa in incognito mode:
-
Open the extensions page url("chrome://extensions") in the browser.
-
Find Syringa Extension and click the details button.
-
Scroll down and Allow in incognito.
Currently Syringa only works with Google Chrome.