@putout/operator-css 1.0.0 → 1.0.1

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 CHANGED
@@ -13,14 +13,14 @@ npm i putout @putout/operator-css
13
13
 
14
14
  ## API
15
15
 
16
- ### `convertJSToCSS`
16
+ ### `convertJsToCss`
17
17
 
18
18
  ```js
19
19
  import {operator} from 'putout';
20
20
 
21
- const {convertJSToCSS} = operator;
21
+ const {convertJsToCss} = operator;
22
22
 
23
- convertJSToCSS(`
23
+ convertJsToCss(`
24
24
  [
25
25
  rule(selector([
26
26
  typeSelector('button'),
@@ -31,14 +31,14 @@ convertJSToCSS(`
31
31
  `);
32
32
  ```
33
33
 
34
- ### `convertCSSToJS`
34
+ ### `convertCssToJs`
35
35
 
36
36
  ```js
37
37
  import {operator} from 'putout';
38
38
 
39
- const {convertCSSToJS} = operator;
39
+ const {convertCssToJs} = operator;
40
40
 
41
- convertCSSToJS(`
41
+ convertCssToJs(`
42
42
  button {
43
43
  color: "red";
44
44
  }
package/lib/css.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export function convertJSToCSS(source: string): string;
2
- export function convertCSSToJS(source: string): string;
1
+ export function convertJsToCss(source: string): string;
2
+ export function convertCssToJs(source: string): string;
3
3
 
package/lib/css.js CHANGED
@@ -1,5 +1 @@
1
- import {convertJsToCss, convertCssToJs} from 'happy-style';
2
-
3
- export const convertJSToCSS = convertJsToCss;
4
-
5
- export const convertCSSToJS = convertCssToJs;
1
+ export {convertJsToCss, convertCssToJs} from 'happy-style';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/operator-css",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout operator adds ability to work with css",