ACIL FM
Dark
Refresh
Current DIR:
/lib/node_modules/npm/node_modules/normalize-package-data/lib
/
lib
node_modules
npm
node_modules
normalize-package-data
lib
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
extract_description.js
549 B
chmod
View
DL
Edit
Rename
Delete
fixer.js
12.41 MB
chmod
View
DL
Edit
Rename
Delete
make_warning.js
711 B
chmod
View
DL
Edit
Rename
Delete
normalize.js
1.35 MB
chmod
View
DL
Edit
Rename
Delete
safe_format.js
262 B
chmod
View
DL
Edit
Rename
Delete
typos.json
747 B
chmod
View
DL
Edit
Rename
Delete
warning_messages.json
1.76 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /lib/node_modules/npm/node_modules/normalize-package-data/lib/extract_description.js
module.exports = extractDescription // Extracts description from contents of a readme file in markdown format function extractDescription (d) { if (!d) { return } if (d === 'ERROR: No README data found!') { return } // the first block of text before the first heading // that isn't the first line heading d = d.trim().split('\n') let s = 0 while (d[s] && d[s].trim().match(/^(#|$)/)) { s++ } const l = d.length let e = s + 1 while (e < l && d[e].trim()) { e++ } return d.slice(s, e).join(' ').trim() }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply