object.prototype-intrinsic-ai 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # `object.prototype-intrinsic-ai`
2
+ Robustly cached `Object.prototype` intrinsic for your use. This package is part of the [IntrinsicJS project](https://github.com/enterprise-npm-ai/intrinsicjs).
3
+
4
+ ## Installation
5
+ Install it however you want. We'll only include one way to install it in this README, for simplicity:
6
+ ```bash
7
+ npm install object.prototype-intrinsic-ai
8
+ ```
9
+
10
+ ## Usage
11
+ ```javascript
12
+ const $ObjectPrototype = require("object.prototype-intrinsic-ai")
13
+ ```
package/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare const $ObjectPrototype: typeof Object.prototype
2
+
3
+ export = $ObjectPrototype
package/index.js ADDED
@@ -0,0 +1,6 @@
1
+ const string = require("string-string")
2
+ const getProto = require("get-proto")
3
+
4
+ const $ObjectPrototype = getProto(getProto(string))
5
+
6
+ module.exports = $ObjectPrototype
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "object.prototype-intrinsic-ai",
3
+ "version": "1.0.0",
4
+ "description": "ES `Object.prototype` intrinsic as a module.",
5
+ "keywords": [
6
+ "intrinsic",
7
+ "js",
8
+ "ai"
9
+ ],
10
+ "homepage": "https://github.com/enterprise-npm-ai/intrinsicjs#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/enterprise-npm-ai/intrinsicjs/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/enterprise-npm-ai/intrinsicjs.git"
17
+ },
18
+ "license": "MIT",
19
+ "author": "tj-commits",
20
+ "type": "commonjs",
21
+ "main": "index.js",
22
+ "dependencies": {
23
+ "get-proto": "^1.0.1",
24
+ "string-string": "^1.0.0"
25
+ }
26
+ }