aboutsummaryrefslogtreecommitdiff
path: root/node_modules/os-browserify
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/os-browserify')
-rw-r--r--node_modules/os-browserify/.npmignore14
-rw-r--r--node_modules/os-browserify/LICENSE21
-rw-r--r--node_modules/os-browserify/README.md5
-rw-r--r--node_modules/os-browserify/browser.js49
-rw-r--r--node_modules/os-browserify/main.js1
-rw-r--r--node_modules/os-browserify/package.json20
6 files changed, 0 insertions, 110 deletions
diff --git a/node_modules/os-browserify/.npmignore b/node_modules/os-browserify/.npmignore
deleted file mode 100644
index f356293ee..000000000
--- a/node_modules/os-browserify/.npmignore
+++ /dev/null
@@ -1,14 +0,0 @@
-lib-cov
-*.seed
-*.log
-*.csv
-*.dat
-*.out
-*.pid
-*.gz
-
-pids
-logs
-results
-
-npm-debug.log
diff --git a/node_modules/os-browserify/LICENSE b/node_modules/os-browserify/LICENSE
deleted file mode 100644
index 4b870dac2..000000000
--- a/node_modules/os-browserify/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2017 CoderPuppy
-
-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.
diff --git a/node_modules/os-browserify/README.md b/node_modules/os-browserify/README.md
deleted file mode 100644
index 4dd7d6ebc..000000000
--- a/node_modules/os-browserify/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# os-browserify
-
-The [os](https://nodejs.org/api/os.html) module from node.js, but for browsers.
-
-When you `require('os')` in [browserify](http://github.com/substack/node-browserify), this module will be loaded.
diff --git a/node_modules/os-browserify/browser.js b/node_modules/os-browserify/browser.js
deleted file mode 100644
index 22d9a2ad4..000000000
--- a/node_modules/os-browserify/browser.js
+++ /dev/null
@@ -1,49 +0,0 @@
-exports.endianness = function () { return 'LE' };
-
-exports.hostname = function () {
- if (typeof location !== 'undefined') {
- return location.hostname
- }
- else return '';
-};
-
-exports.loadavg = function () { return [] };
-
-exports.uptime = function () { return 0 };
-
-exports.freemem = function () {
- return Number.MAX_VALUE;
-};
-
-exports.totalmem = function () {
- return Number.MAX_VALUE;
-};
-
-exports.cpus = function () { return [] };
-
-exports.type = function () { return 'Browser' };
-
-exports.release = function () {
- if (typeof navigator !== 'undefined') {
- return navigator.appVersion;
- }
- return '';
-};
-
-exports.networkInterfaces
-= exports.getNetworkInterfaces
-= function () { return {} };
-
-exports.arch = function () { return 'javascript' };
-
-exports.platform = function () { return 'browser' };
-
-exports.tmpdir = exports.tmpDir = function () {
- return '/tmp';
-};
-
-exports.EOL = '\n';
-
-exports.homedir = function () {
- return '/'
-};
diff --git a/node_modules/os-browserify/main.js b/node_modules/os-browserify/main.js
deleted file mode 100644
index 5910697d8..000000000
--- a/node_modules/os-browserify/main.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('os');
diff --git a/node_modules/os-browserify/package.json b/node_modules/os-browserify/package.json
deleted file mode 100644
index 1ef42b490..000000000
--- a/node_modules/os-browserify/package.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "name": "os-browserify",
- "version": "0.3.0",
- "author": "CoderPuppy <coderpup@gmail.com>",
- "license": "MIT",
- "main": "main.js",
- "browser": "browser.js",
- "jspm": {
- "map": {
- "./main.js": {
- "node": "@node/os",
- "browser": "./browser.js"
- }
- }
- },
- "repository": {
- "type": "git",
- "url": "http://github.com/CoderPuppy/os-browserify.git"
- }
-}