Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-asciify

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-asciify - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

14

package.json
{
"name": "grunt-asciify",
"description": "Ascii awesomizer. A Grunt task for better banners and hot logs",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "https://github.com/olizilla/grunt-asciify",

@@ -32,11 +32,11 @@ "author": {

"dependencies": {
"asciify": "~1.0.1"
"asciify": "~1.3.0"
},
"devDependencies": {
"grunt": "~0.4",
"grunt-cli": "~0.1.6",
"grunt-contrib-jshint": "~0.1.1",
"grunt": "~0.4.1",
"grunt-cli": "~0.1.6",
"grunt-contrib-jshint": "~0.6.0",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-nodeunit": "~0.1.2",
"grunt-contrib-uglify": "~0.1.1"
"grunt-contrib-nodeunit": "~0.2.0",
"grunt-contrib-uglify": "~0.2.2"
},

@@ -43,0 +43,0 @@ "keywords": [

@@ -16,2 +16,3 @@ # grunt-asciify

Running the asciify task as configured below will push your awesomized text into property called `asciify_myBanner` which can then be used else where, as the template for an awesome file banner for example.

@@ -34,2 +35,3 @@ ```js

```
Asciify picks a property name to store the output by prepending your target name with `asciify_`. In the above example we used `myBanner` as the target, so the property name became `asciify_myBanner`.

@@ -53,3 +55,2 @@ ## Getting Started

### Overview
In your project's Gruntfile, add a section named `asciify` to the data object passed into `grunt.initConfig()`.

@@ -79,3 +80,3 @@

![asciify options.log=true](https://raw.github.com/olizilla/grunt-asciify/master/doc/grunt-asciify.png);
![asciify options.log=true](https://raw.github.com/olizilla/grunt-asciify/master/doc/grunt-asciify.png)

@@ -86,6 +87,9 @@ ### Usage Examples

grunt.initConfig({
asciify: {
asciify: {
banner:{
text: 'GRUNT-ASCIIFY!',
options:{
// Add the awesome to the console, and use the best font.
options:{
font:'graffiti',

@@ -97,4 +101,6 @@ log:true

// Use asciify to make banner
uglify:{
// Use the property holding our awesomised text in the banner template
options: {

@@ -105,6 +111,12 @@ banner: '/*!\n <%= asciify_banner %> \n*/\n'

src:'Gruntfile.js',
dest:'Grunfile.withbanner.min.js'
dest:'Grunfile.withbanner.min.js'
}
}
})
});
grunt.loadNpmTasks('grunt-asciify');
grunt.loadNpmTasks('grunt-contrib-uglify');
// Run asciify before uglify so the asciify_banner property is available.
grunt.registerTask('default', ['asciify', 'uglify']);
```

@@ -116,3 +128,4 @@

## Release History
* 0.2.1 - ASCIIFY CORE UPDATED. NO BANNERS WERE HARMED.
* 0.2.0 - GRAFFITI BEATS STANDARD AS DEFAULT FONT. NOW DEPENDS ON THE ASCIIFY MODULE.
* 0.1.0 - IT BEGINS. ASCII BANNERS NOW MANDTORY.
* 0.2.0 - GRAFFITI BEATS STANDARD AS DEFAULT FONT. NOW DEPENDS ON THE ASCIIFY MODULE.

@@ -29,3 +29,8 @@ /*

asciify(this.data.text, options.font, function(result) {
asciify(this.data.text, options.font, function(err, result) {
if (err) {
grunt.log.error('Failed to asciify:', err);
return done();
}

@@ -32,0 +37,0 @@ self.files.forEach(function(file){

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc