Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
how to check file extension in node js
Clock
Programming language:
Javascript
2021-06-24 23:24:21
0
Q:
how to check file extension in node js
Worried Walrus
Code:
Javascript
2021-06-22 14:48:23
var
path =
require
(
'path'
);
var
ext = path.extname(
'/Users/Refsnes/demo_path.js'
);
console
.log(ext);
0
Tags
file
check
node
how
Related
get file extension of path extendscript
javascript file exists check
exclude extension from filename javascript
JSX not allowed in files with extension '.js'
javascript find file extension from string
how can node js file be serve
how to check platform in nodejs
node check if file exists
javascript get file extension
how to get the extension from filename using javascript
check if file exists javascript
javascript check if file exists in folder
how can i check of node js is installed
node js get file name without extension
javascript check if file exists on server
image downloader extension in nodejs
javascript get file extension from string
New to Communities?
Join the community