forked from enviPath/enviPy
Current Dev State
This commit is contained in:
41
static/js/ketcher2/node_modules/dot-parts/readme.md
generated
vendored
Normal file
41
static/js/ketcher2/node_modules/dot-parts/readme.md
generated
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
# dot-parts [](https://travis-ci.org/bendrucker/dot-parts)
|
||||
|
||||
> Split a dot property into its parts
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save dot-parts
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var dotParts = require('dot-parts')
|
||||
|
||||
// normal
|
||||
dotParts('foo.bar.baz')
|
||||
//=> ['foo', 'bar', 'baz']
|
||||
|
||||
// escaping with \\
|
||||
dotParts('foo\\.bar', 'baz')
|
||||
//=> ['foo.bar', 'baz']
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
#### `dotParts(path)` -> `array[string]`
|
||||
|
||||
##### path
|
||||
|
||||
*Required*
|
||||
Type: `string`
|
||||
|
||||
A dot-delimeted path.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Ben Drucker](http://bendrucker.me)
|
||||
Reference in New Issue
Block a user