krux / postscribe

Asynchronously write javascript, even with document.write.
MIT License
986 stars 156 forks source link

Adding nonce support to postscribe #512

Open john-peter2 opened 2 years ago

john-peter2 commented 2 years ago

Hi Team,

 Currently there is no option to add nonce property to the scripts / styles generated using the WriteStream parser inside postscribe. 

Adding the nonce through this PR.