mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 04:10:04 +02:00
add some packages
This commit is contained in:
5
node_modules/home-or-tmp/index.js
generated
vendored
Normal file
5
node_modules/home-or-tmp/index.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
var osHomedir = require('os-homedir');
|
||||
var osTmpdir = require('os-tmpdir');
|
||||
|
||||
module.exports = osHomedir() || osTmpdir();
|
21
node_modules/home-or-tmp/license
generated
vendored
Normal file
21
node_modules/home-or-tmp/license
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (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.
|
75
node_modules/home-or-tmp/package.json
generated
vendored
Normal file
75
node_modules/home-or-tmp/package.json
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"_from": "home-or-tmp@^2.0.0",
|
||||
"_id": "home-or-tmp@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=",
|
||||
"_location": "/home-or-tmp",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "home-or-tmp@^2.0.0",
|
||||
"name": "home-or-tmp",
|
||||
"escapedName": "home-or-tmp",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/babel-register"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
|
||||
"_shasum": "e36c3f2d2cae7d746a857e38d18d5f32a7882db8",
|
||||
"_spec": "home-or-tmp@^2.0.0",
|
||||
"_where": "/home/s2/Documents/Code/minifyfromhtml/node_modules/babel-register",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/home-or-tmp/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"os-homedir": "^1.0.0",
|
||||
"os-tmpdir": "^1.0.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Get the user home directory with fallback to the system temp directory",
|
||||
"devDependencies": {
|
||||
"ava": "0.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/home-or-tmp#readme",
|
||||
"keywords": [
|
||||
"user",
|
||||
"home",
|
||||
"homedir",
|
||||
"dir",
|
||||
"directory",
|
||||
"folder",
|
||||
"path",
|
||||
"tmp",
|
||||
"temp",
|
||||
"temporary",
|
||||
"fallback",
|
||||
"graceful",
|
||||
"userprofile"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "home-or-tmp",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/home-or-tmp.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "2.0.0"
|
||||
}
|
32
node_modules/home-or-tmp/readme.md
generated
vendored
Normal file
32
node_modules/home-or-tmp/readme.md
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# home-or-tmp [](https://travis-ci.org/sindresorhus/home-or-tmp)
|
||||
|
||||
> Get the user home directory with fallback to the system temp directory
|
||||
|
||||
Useful in cases where the home directory either isn't set or doesn't exist.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save home-or-tmp
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var homeOrTmp = require('home-or-tmp');
|
||||
|
||||
console.log(homeOrTmp);
|
||||
//=> '/Users/sindresorhus'
|
||||
|
||||
// and if there's no home directory:
|
||||
|
||||
console.log(homeOrTmp);
|
||||
//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Reference in New Issue
Block a user