Skip to content

AspieSoft/js-freeze

Repository files navigation

Random Number JS

npm version GitHub top language GitHub license

npm downloads npm downloads jsDelivr hits (GitHub)

paypal

Freezes many builtin js objects to prevent modification of core js functions, and improve security

Also disables the eval function.

Installation

node.js

npm install @aspiesoft/js-freeze

cdn

<script src="https://cdn.jsdelivr.net/gh/AspieSoft/js-freeze@1.0/js-freeze.min.js"></script>

Usage

// thats it, everything is loaded on the server
require('@aspiesoft/js-freeze');