demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/toidentifier-1.0.1/index.js

Path
demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/toidentifier-1.0.1/index.js
Status
scanned
Type
file
Name
index.js
Extension
.js
Programming language
JavaScript
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
504 (504 bytes)
MD5
b7a1b5c3f74ff7e0a11b61d56673afa0
SHA1
fc66e4445021b49b1f4386ca72cad654dc408d34
SHA256
f9f26b0e90e2569b61d02ef2a92718624b8854592b1ede7f2c8879a69cfdba05
SHA512

      
    
SHA1_git
9295d024a8c94ee27b3e2b437769599ac5f2b65d
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
index.js | 504 bytes |

/*! * toidentifier * Copyright(c) 2016 Douglas Christopher Wilson * MIT Licensed */ 'use strict' /** * Module exports. * @public */ module.exports = toIdentifier /** * Trasform the given string into a JavaScript identifier * * @param {string} str * @returns {string} * @public */ function toIdentifier (str) { return str .split(' ') .map(function (token) { return token.slice(0, 1).toUpperCase() + token.slice(1) }) .join('') .replace(/[^ _0-9a-z]/gi, '') }
Detected license expression
mit
Detected license expression (SPDX)
MIT
Percentage of license text
3.7
Copyrights
- end_line: 3
  copyright: Copyright (c) 2016 Douglas Christopher Wilson
  start_line: 3
Holders
- holder: Douglas Christopher Wilson
  end_line: 3
  start_line: 3
Authors

      
    
License detections License expression License expression SPDX
mit-4e7803e6-e54b-c9ca-bcd2-bee9755c0dd7 mit MIT
Package URL License Primary language
pkg:npm/toidentifier@1.0.1 mit JavaScript
pkg:npm/acme-demo-app@1.0.0 JavaScript