1.0.0 • Published 2 years ago

object-default v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Using to lib:

const object = require("object-default");
const main = object("axios");

console.log(main)

Result:

{
  v: '0.27.2',
  main: 'index.js',
  keywords: [ 'xhr', 'http', 'ajax', 'promise', 'node' ],
  homepage: 'https://axios-http.com',
  module: {
    'abortcontroller-polyfill': '^1.7.3',
    coveralls: '^3.1.1',
    dtslint: '^4.2.1',
    'es6-promise': '^4.2.8',
    formidable: '^2.0.1',
    grunt: '^1.4.1',
    'grunt-banner': '^0.6.0',
    'grunt-cli': '^1.4.3',
    'grunt-contrib-clean': '^2.0.0',
    'grunt-contrib-watch': '^1.1.0',
    'grunt-eslint': '^24.0.0',
    'grunt-karma': '^4.0.2',
    'grunt-mocha-test': '^0.13.3',
    'grunt-webpack': '^5.0.0',
    'istanbul-instrumenter-loader': '^3.0.1',
    'jasmine-core': '^2.4.1',
    karma: '^6.3.17',
    'karma-chrome-launcher': '^3.1.1',
    'karma-firefox-launcher': '^2.1.2',
    'karma-jasmine': '^1.1.1',
    'karma-jasmine-ajax': '^0.1.13',
    'karma-safari-launcher': '^1.0.0',
    'karma-sauce-launcher': '^4.3.6',
    'karma-sinon': '^1.0.5',
    'karma-sourcemap-loader': '^0.3.8',
    'karma-webpack': '^4.0.2',
    'load-grunt-tasks': '^5.1.0',
    minimist: '^1.2.6',
    mocha: '^8.2.1',
    sinon: '^4.5.0',
    'terser-webpack-plugin': '^4.2.3',
    typescript: '^4.6.3',
    'url-search-params': '^0.10.0',
    webpack: '^4.44.2',
    'webpack-dev-server': '^3.11.0'
  },
  scripts: {
    test: 'grunt test && dtslint',
    start: 'node ./sandbox/server.js',
    preversion: 'grunt version && npm test',
    build: 'NODE_ENV=production grunt build',
    examples: 'node ./examples/server.js',
    coveralls: 'cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js',
    fix: 'eslint --fix lib/**/*.js'
  }
}