DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check file extension in node js
var path = require('path'); var ext = path.extname('/Users/Refsnes/demo_path.js'); console.log(ext);
Source by www.staroceans.org.s3-website-us-east-1.amazonaws.com #
PREVIOUS
NEXT
Tagged:
#check
#file
#extension
#node
#js
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit