https://github.com/liyangready/multiple-host
虚拟host解决方案,轻松实现两套host环境
https://github.com/liyangready/multiple-host
charles fiddle hosts proxy
Last synced: 3 months ago
JSON representation
虚拟host解决方案,轻松实现两套host环境
- Host: GitHub
- URL: https://github.com/liyangready/multiple-host
- Owner: liyangready
- Created: 2015-05-12T13:30:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-18T12:56:45.000Z (over 7 years ago)
- Last Synced: 2024-08-05T17:28:51.372Z (about 1 year ago)
- Topics: charles, fiddle, hosts, proxy
- Language: JavaScript
- Homepage:
- Size: 3.82 MB
- Stars: 287
- Watchers: 17
- Forks: 50
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - liyangready/multiple-host - 虚拟host解决方案,轻松实现两套host环境 (JavaScript)
README
is-property
===========
Tests if a property of a JavaScript object can be accessed using the dot (.) notation or if it must be enclosed in brackets, (ie use x[" ... "])Example
-------```javascript
var isProperty = require("is-property")console.log(isProperty("foo")) //Prints true
console.log(isProperty("0")) //Prints false
```Install
-------npm install is-property
### `require("is-property")(str)`
Checks if str is a property* `str` is a string which we will test if it is a property or not
**Returns** true or false depending if str is a property
## Credits
(c) 2013 Mikola Lysenko. MIT License