1.0.2 • Published 6 years ago

is-windows v1.0.2

Weekly downloads
17,510,553
License
MIT
Repository
github
Last release
6 years ago

is-windows NPM version NPM monthly downloads NPM total downloads Linux Build Status

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.

Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your :heart: and support.

Install

Install with npm:

$ npm install --save is-windows

Heads up!

As of v0.2.0 this module always returns a function.

Node.js usage

var isWindows = require('is-windows');

console.log(isWindows());
//=> returns true if the platform is windows

About

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

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:

$ npm install && npm test

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Related projects

You might also be interested in these projects:

Contributors

CommitsContributor
11jonschlinkert
4doowb
1SimenB
1gucong3000

Author

Jon Schlinkert

License

Copyright © 2018, Jon Schlinkert. Released under the MIT License.


This file was generated by verb-generate-readme, v0.6.0, on February 14, 2018.

nanomatchis-absolutespawn-wrap@prisma/internals@prisma/sdk@sreworks-starter/toolsarchetype-librarycomponennentt@architect-io/clieasy-select-rnvuedragdropuploadimagespopsmart-common-authreact-native-bluetooth2killi8n-react-native-fast-imagern-send-smsspecify-importsbabel-specify-imports@icanpm/api-mastergew-nodejs-api-client@arisageha/react-lazyload@arisageha/react-lazyload-fix@cashremit/cr-streamline-icons@ianlucas/service-analyticsdw-mx-packing-toolsreact-native-template-rfbasecloud-archive-s3airscanairscan-examplebb-chatreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxf@phil8795/pecuniarius-apideneme323112@steven-torres/jsxr@texttree/demo-bsa-reference-rcl@fundefund/funde_ck@ntt_app/react-native-custom-notificationreact-native-custom-text-hwjamesreact-native-covid-sdkgql_din_modbitgetreact-native-thanh-toast-library@thanhnguyen14797/react-native-thanh-toast-library@l1nyanm1ng/react-picture-viewercthpb-plugin-socialosbx-clipanqibaoreact-native-printer-brothersrn-pdf-reader-offline@cliffdotai/atomic-toolsteasim-mockersreact-native-shekhar-bridge-testonlinex-ui-toolswilscanner@oiti/documentoscopy-react-nativejs4cytoscape@mink-opn/build-tokensquoc-testrun-design-vue2react-native-slider-kfunblock-block-save-variables@infinitebrahmanuniverse/nolb-is-w@prodam/prodam-types@saaspe/componentsplgintouchxexpand-react-bridgeluminos-ui-core@akosm/cmd-shim@everything-registry/sub-chunk-1935jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgondreact-native-jawwy_sample@arielapaula/components@arielapaula/testgulp-reporter@ascen/execzerohcm-js@astro-my/sign-requestant-design-draggable-modal-4ant-design-draggable-modal-fixant-design-draggable-modal-fix-2gzup-react-image-file-resizerh5-templete@ant-design/tools@apardellass/react-native-audio-streamguruwayguruway.js@atlauncher/atlauncher-scriptsappxgen@anonybit-modules/videoreconstruction@ansonhkg/utilshive-bee-design-tools@zh0st/evm-chains
1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

9 years ago