pax_global_header00006660000000000000000000000064130205764220014513gustar00rootroot0000000000000052 comment=7fbb033c001a17b5e41aa321f0c2398dbab5fc91 binary-extensions-1.8.0/000077500000000000000000000000001302057642200152025ustar00rootroot00000000000000binary-extensions-1.8.0/.editorconfig000066400000000000000000000003371302057642200176620ustar00rootroot00000000000000root = true [*] indent_style = tab end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [package.json] indent_style = space indent_size = 2 [*.md] trim_trailing_whitespace = false binary-extensions-1.8.0/.gitattributes000066400000000000000000000000141302057642200200700ustar00rootroot00000000000000* text=auto binary-extensions-1.8.0/.gitignore000066400000000000000000000000151302057642200171660ustar00rootroot00000000000000node_modules binary-extensions-1.8.0/.jshintrc000066400000000000000000000002761302057642200170340ustar00rootroot00000000000000{ "node": true, "esnext": true, "bitwise": true, "camelcase": true, "curly": true, "immed": true, "newcap": true, "noarg": true, "undef": true, "unused": "vars", "strict": true } binary-extensions-1.8.0/.travis.yml000066400000000000000000000001101302057642200173030ustar00rootroot00000000000000sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10' binary-extensions-1.8.0/binary-extensions.json000066400000000000000000000036731302057642200215670ustar00rootroot00000000000000[ "3ds", "3g2", "3gp", "7z", "a", "aac", "adp", "ai", "aif", "aiff", "alz", "ape", "apk", "ar", "arj", "asf", "au", "avi", "bak", "bh", "bin", "bk", "bmp", "btif", "bz2", "bzip2", "cab", "caf", "cgm", "class", "cmx", "cpio", "cr2", "csv", "cur", "dat", "deb", "dex", "djvu", "dll", "dmg", "dng", "doc", "docm", "docx", "dot", "dotm", "dra", "DS_Store", "dsk", "dts", "dtshd", "dvb", "dwg", "dxf", "ecelp4800", "ecelp7470", "ecelp9600", "egg", "eol", "eot", "epub", "exe", "f4v", "fbs", "fh", "fla", "flac", "fli", "flv", "fpx", "fst", "fvt", "g3", "gif", "graffle", "gz", "gzip", "h261", "h263", "h264", "ico", "ief", "img", "ipa", "iso", "jar", "jpeg", "jpg", "jpgv", "jpm", "jxr", "key", "ktx", "lha", "lvp", "lz", "lzh", "lzma", "lzo", "m3u", "m4a", "m4v", "mar", "mdi", "mht", "mid", "midi", "mj2", "mka", "mkv", "mmr", "mng", "mobi", "mov", "movie", "mp3", "mp4", "mp4a", "mpeg", "mpg", "mpga", "mxu", "nef", "npx", "numbers", "o", "oga", "ogg", "ogv", "otf", "pages", "pbm", "pcx", "pdf", "pea", "pgm", "pic", "png", "pnm", "pot", "potm", "potx", "ppa", "ppam", "ppm", "pps", "ppsm", "ppsx", "ppt", "pptm", "pptx", "psd", "pya", "pyc", "pyo", "pyv", "qt", "rar", "ras", "raw", "rgb", "rip", "rlc", "rmf", "rmvb", "rtf", "rz", "s3m", "s7z", "scpt", "sgi", "shar", "sil", "sketch", "slk", "smv", "so", "sub", "swf", "tar", "tbz", "tbz2", "tga", "tgz", "thmx", "tif", "tiff", "tlz", "ttc", "ttf", "txz", "udf", "uvh", "uvi", "uvm", "uvp", "uvs", "uvu", "viv", "vob", "war", "wav", "wax", "wbmp", "wdp", "weba", "webm", "webp", "whl", "wim", "wm", "wma", "wmv", "wmx", "woff", "woff2", "wvx", "xbm", "xif", "xla", "xlam", "xls", "xlsb", "xlsm", "xlsx", "xlt", "xltm", "xltx", "xm", "xmind", "xpi", "xpm", "xwd", "xz", "z", "zip", "zipx" ] binary-extensions-1.8.0/license000066400000000000000000000021371302057642200165520ustar00rootroot00000000000000The MIT License (MIT) Copyright (c) Sindre Sorhus (sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. binary-extensions-1.8.0/package.json000066400000000000000000000012011302057642200174620ustar00rootroot00000000000000{ "name": "binary-extensions", "version": "1.8.0", "description": "List of binary file extensions", "license": "MIT", "repository": "sindresorhus/binary-extensions", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=0.10.0" }, "scripts": { "test": "ava" }, "main": "binary-extensions.json", "files": [ "binary-extensions.json" ], "keywords": [ "bin", "binary", "ext", "extensions", "extension", "file", "json", "list", "array" ], "devDependencies": { "ava": "*" } } binary-extensions-1.8.0/readme.md000066400000000000000000000013671302057642200167700ustar00rootroot00000000000000# binary-extensions [![Build Status](https://travis-ci.org/sindresorhus/binary-extensions.svg?branch=master)](https://travis-ci.org/sindresorhus/binary-extensions) > List of binary file extensions The list is just a [JSON file](binary-extensions.json) and can be used wherever. ## Install ``` $ npm install --save binary-extensions ``` ## Usage ```js var binaryExtensions = require('binary-extensions'); console.log(binaryExtensions); //=> ['3ds', '3g2', ...] ``` ## Related - [`is-binary-path`](https://github.com/sindresorhus/is-binary-path) - Check if a filepath is a binary file - [`text-extensions`](https://github.com/sindresorhus/text-extensions) - List of text file extensions ## License MIT © [Sindre Sorhus](http://sindresorhus.com) binary-extensions-1.8.0/test.js000066400000000000000000000001571302057642200165220ustar00rootroot00000000000000import test from 'ava'; import m from './'; test(t => { t.true(Array.isArray(m)); t.true(m.length > 0); });