Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anseki/grunt-gnirts
Obfuscate string literals in JavaScript code.
https://github.com/anseki/grunt-gnirts
cryptography gnirts grunt-gnirts grunt-plugins gruntplugin javascript literal mangle obfuscate obfuscated obfuscation obfuscator password secret security string
Last synced: 12 days ago
JSON representation
Obfuscate string literals in JavaScript code.
- Host: GitHub
- URL: https://github.com/anseki/grunt-gnirts
- Owner: anseki
- License: mit
- Created: 2015-08-15T16:56:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-13T10:25:36.000Z (about 2 years ago)
- Last Synced: 2024-04-14T09:38:59.709Z (7 months ago)
- Topics: cryptography, gnirts, grunt-gnirts, grunt-plugins, gruntplugin, javascript, literal, mangle, obfuscate, obfuscated, obfuscation, obfuscator, password, secret, security, string
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grunt-gnirts
[![npm](https://img.shields.io/npm/v/grunt-gnirts.svg)](https://www.npmjs.com/package/grunt-gnirts) [![GitHub issues](https://img.shields.io/github/issues/anseki/grunt-gnirts.svg)](https://github.com/anseki/grunt-gnirts/issues) [![David](https://img.shields.io/david/anseki/grunt-gnirts.svg)](package.json) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
This [Grunt](http://gruntjs.com/) plugin is wrapper of [gnirts](https://github.com/anseki/gnirts).
* [gulp](http://gulpjs.com/) plugin: [gulp-gnirts](https://github.com/anseki/gulp-gnirts)
* [webpack](https://webpack.js.org/) loader: [gnirts-loader](https://github.com/anseki/gnirts-loader)Obfuscate string literals in JavaScript code.
See [gnirts](https://github.com/anseki/gnirts) for more information about gnirts.## Getting Started
This plugin requires Grunt `~0.4.1`
If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
```shell
npm install grunt-gnirts --save-dev
```Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
```js
grunt.loadNpmTasks('grunt-gnirts');
```## Usage
In your project's Gruntfile, add a section named `gnirts` to the data object passed into `grunt.initConfig()`.
```js
grunt.initConfig({
gnirts: {
deploy: {
expand: true,
cwd: 'develop/',
src: '**/*.js',
dest: 'public_html/'
}
}
});
```