Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ delete
Method
delete
lib/utils/queryable.js:275–281 ·
view source on GitHub ↗
(query)
Source
from the content-addressed store, hash-verified
273
274
// deletes the value of the property found at `query`
275
delete (query) {
276
setter({
277
data: this.#data,
278
key: query,
279
value: _delete,
280
})
281
}
282
283
toJSON () {
284
return
this.#data
Callers
3
delete
Method · 0.95
Timers
Class · 0.45
explainFrom
Function · 0.45
Calls
1
setter
Function · 0.85
Tested by
no test coverage detected