Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix API.md formatting

  • Loading branch information...
commit f27062582a2e7d98f6931c25aa6eb67b8f95cc3b 1 parent 6f5fe5e
Bruno Jouhier authored

Showing 2 changed files with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  API.md
  2. 2  janzip/janzip.js
2  API.md
Source Rendered
@@ -7,8 +7,10 @@ Simple API to create a zip archive. No external dependencies (except streamline.
7 7
   Creates a zip archive.  
8 8
   Uses _deflate_ compression by default. You can override this by passing  
9 9
   `options = { zipMethod: zip.store }`
  10
+
10 11
   ** `options.filter` optional function to filter the contents of directories.  
11 12
   Called as `filter(_, filename, parentEntry)`. 
  13
+
12 14
   ** `options.transform` optional function to transform the contents of files.  
13 15
   Called as `transform(_, contents, entry)` where `contents` is a buffer (not a string).
14 16
 
2  janzip/janzip.js
@@ -24,8 +24,10 @@ var zlib = require("zlib");
24 24
 ///   Creates a zip archive.  
25 25
 ///   Uses _deflate_ compression by default. You can override this by passing  
26 26
 ///   `options = { zipMethod: zip.store }`
  27
+/// 
27 28
 ///   ** `options.filter` optional function to filter the contents of directories.  
28 29
 ///   Called as `filter(_, filename, parentEntry)`. 
  30
+/// 
29 31
 ///   ** `options.transform` optional function to transform the contents of files.  
30 32
 ///   Called as `transform(_, contents, entry)` where `contents` is a buffer (not a string).
31 33
 /// 

0 notes on commit f270625

Please sign in to comment.
Something went wrong with that request. Please try again.