Added Gulp.js for compiling SCSS stylesheets
This commit is contained in:
21
node_modules/remove-bom-buffer/LICENSE
generated
vendored
Normal file
21
node_modules/remove-bom-buffer/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015-2017, Jon Schlinkert.
|
||||
|
||||
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.
|
65
node_modules/remove-bom-buffer/README.md
generated
vendored
Normal file
65
node_modules/remove-bom-buffer/README.md
generated
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
# remove-bom-buffer [](https://www.npmjs.com/package/remove-bom-buffer) [](https://npmjs.org/package/remove-bom-buffer) [](https://npmjs.org/package/remove-bom-buffer) [](https://travis-ci.org/jonschlinkert/remove-bom-buffer)
|
||||
|
||||
> Remove a byte order mark (BOM) from a buffer.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save remove-bom-buffer
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var remove = require('remove-bom-buffer');
|
||||
remove(new Buffer('\ufefffoo'));
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
### Related projects
|
||||
|
||||
* [cr](https://www.npmjs.com/package/cr): Strip windows carriage returns, or convert carriage returns to newlines. | [homepage](https://github.com/jonschlinkert/cr "Strip windows carriage returns, or convert carriage returns to newlines.")
|
||||
* [has-bom](https://www.npmjs.com/package/has-bom): Returns true if a buffer or string has a byte order mark (BOM) | [homepage](https://github.com/jonschlinkert/has-bom "Returns true if a buffer or string has a byte order mark (BOM)")
|
||||
* [read-file](https://www.npmjs.com/package/read-file): Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when `utf8` encoding… [more](https://github.com/jonschlinkert/read-file) | [homepage](https://github.com/jonschlinkert/read-file "Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when `utf8` encoding is chosen. Also optionally replaces windows newlines with unix newlines.")
|
||||
* [strip-bom-string](https://www.npmjs.com/package/strip-bom-string): Strip a byte order mark (BOM) from a string. | [homepage](https://github.com/jonschlinkert/strip-bom-string "Strip a byte order mark (BOM) from a string.")
|
||||
|
||||
### Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
### Building docs
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 16, 2017._
|
27
node_modules/remove-bom-buffer/index.js
generated
vendored
Normal file
27
node_modules/remove-bom-buffer/index.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
/*!
|
||||
* remove-bom-buffer <https://github.com/jonschlinkert/remove-bom-buffer>
|
||||
*
|
||||
* Copyright (c) 2015-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var isUTF8 = require('is-utf8');
|
||||
var isBuffer = require('is-buffer');
|
||||
|
||||
function matchBOM(buf) {
|
||||
return buf[0] === 0xEF && buf[1] === 0xBB && buf[2] === 0xBF;
|
||||
}
|
||||
|
||||
function maybeUTF8(buf) {
|
||||
// Only "maybe" because we aren't sniffing the whole buffer
|
||||
return isUTF8(buf.slice(3, 7));
|
||||
}
|
||||
|
||||
module.exports = function(buf) {
|
||||
if (isBuffer(buf) && matchBOM(buf) && maybeUTF8(buf)) {
|
||||
return buf.slice(3);
|
||||
}
|
||||
return buf;
|
||||
};
|
67
node_modules/remove-bom-buffer/package.json
generated
vendored
Normal file
67
node_modules/remove-bom-buffer/package.json
generated
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
{
|
||||
"name": "remove-bom-buffer",
|
||||
"description": "Remove a byte order mark (BOM) from a buffer.",
|
||||
"version": "3.0.0",
|
||||
"homepage": "https://github.com/jonschlinkert/remove-bom-buffer",
|
||||
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
|
||||
"contributors": [
|
||||
"Blaine Bublitz (https://twitter.com/BlaineBublitz)",
|
||||
"Erik Kemperman (https://github.com/erikkemperman)",
|
||||
"Jon Schlinkert (http://twitter.com/jonschlinkert)"
|
||||
],
|
||||
"repository": "jonschlinkert/remove-bom-buffer",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/remove-bom-buffer/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"dependencies": {
|
||||
"is-buffer": "^1.1.5",
|
||||
"is-utf8": "^0.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"gulp-format-md": "^0.1.11",
|
||||
"mocha": "^3.2.0"
|
||||
},
|
||||
"keywords": [
|
||||
"bom",
|
||||
"buffer",
|
||||
"byte-order-mark",
|
||||
"normalize",
|
||||
"remove",
|
||||
"strip",
|
||||
"strip-bom",
|
||||
"strip-bom-buffer",
|
||||
"strip-bom-string"
|
||||
],
|
||||
"verb": {
|
||||
"related": {
|
||||
"list": [
|
||||
"cr",
|
||||
"has-bom",
|
||||
"read-file",
|
||||
"strip-bom-string"
|
||||
]
|
||||
},
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user