Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get file extension node

var path = require('path')

path.extname('index.html')
// returns
'.html'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #extension #node
ADD COMMENT
Topic
Name
9+9 =