0.3.1 • Published 10 years ago

is-directory v0.3.1

Weekly downloads
10,727,429
License
MIT
Repository
github
Last release
10 years ago

is-directory NPM version NPM downloads Build Status

Returns true if a filepath exists on the file system and it's directory.

Install

Install with npm:

$ npm install is-directory --save

Usage

var isDirectory = require('is-directory');

isDirectory('node_modules', function(err, dir) {
  if (err) throw err;
  console.log(dir);
  //=> true
});

isDirectory.sync('README.md');
//=> false

Related projects

You might also be interested in these projects:

Contributing

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

Building docs

Generate readme and API documentation with verb:

$ npm install verb && npm run docs

Or, if verb is installed globally:

$ verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2016, Jon Schlinkert. Released under the MIT license.


This file was generated by verb, v0.9.0, on May 21, 2016.

archetype-libraryeasy-select-rnvuedragdropuploadimagesreact-native-bluetooth2killi8n-react-native-fast-imagern-send-sms@cashremit/cr-streamline-iconsreact-native-template-rfbasecloud-archive-s3airscanairscan-examplebb-chatreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112@sz-software/joop@texttree/demo-bsa-reference-rcl@fundefund/funde_ck@ntt_app/react-native-custom-notificationfdt-react-styleguidistreact-native-custom-text-hwjamesreact-native-covid-sdkgql_din_modreact-native-thanh-toast-library@thanhnguyen14797/react-native-thanh-toast-libraryreact-native-printer-brothersrn-pdf-reader-offlinereact-native-shekhar-bridge-testwilscanner@oiti/documentoscopy-react-nativequoc-testreact-native-slider-kf@infinitebrahmanuniverse/nolb-is-dluminos-ui-core@everything-registry/sub-chunk-1933jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgp149-tablereact-native-jawwy_samplegriffin-ui-librarytanitest-library-123test-haptik-libtest-npm-jjmessiwonderbly-find-node-modules-downvue-button-test1webcheworker-farm-cliwifi_configuration_packagewx2batwx2ttsticky-scroll-catchtest-zeo-collecttestnpm_lmnsvavatartfk-saksbehandling-queue-pullthf-clivue-compmentvue-component-docsvision-camera-plugin-face-detectorvision-camera-plugin-scan-facesvision-camera-base64-resizedv9u-smb2-singstorvcloudcam-playkit-js-hlsvantiq-reactvite_vue3_ts_ssssdddddyyyyvs-tree-plusvue-dev-clonegenerator-bootstrap-boilerplate-templatejimmaaay-vue-styleguidist-testjesusdemojrennsoh88-react-native-scroll-indicatorjesh-calculationjnf-accesscontrol-rnttljordy-frijters-test-libjamuskalimkewarrkafirchain-tetriskhaled-salem-custom-componentshyperchargedhvue-styleguidisthot-zone-vuehttp-router-registerhexyun.helpershelp-widgetlitepie-datepicker-gabels-recursivemarkdown-to-pug-climanan-react-native-expo-authorize-netmariia-md-linksm2m-chartjs-plugin-crosshairload-optsl2forlernakrown_login_librarykoa-api-plus
0.3.1

10 years ago

0.3.0

11 years ago

0.2.3

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago